Questions tagged [firebase]
Firebase is a serverless platform for unified development of applications for mobile devices and for the web.
142,293
questions
0
votes
0
answers
11
views
PICOWH memory OSerror by Firebase and LCD
from machine import Pin,SPI,PWM
import framebuf
import time
import os
import gc
##################### FIREBASE ########################
import network
import urequests
BL = 13
DC = 8
RST = 12
MOSI = ...
0
votes
0
answers
12
views
Http instant https firebase functions
I have a client who wants to access our API via C++ in a Cancel terminal, but they are unable to make the call via https, is it possible for me to allow firebase functions to accept http calls instead ...
0
votes
1
answer
9
views
Point to another document in Firebase Cloud
I'm creating shopping cart website. There, I want to have multiple different products that users can pick and add to its cart. For database, I want to use Firebase. In the Firebase Cloud I created ...
0
votes
0
answers
15
views
Quota limit when deploying Next.js to firebase with CLI
I am using the 'firebase deploy' command to deploy a Next.JS project to firebase.
When deploying functions, the command attempts to create a Cloud Run function to handle server side rendering.
I get ...
0
votes
0
answers
25
views
how to upload and retrieve photos to firestorage in my fragment?
I searched but when i try to integrate in my project I always get errors in different code blocks. Can you write an example based on the photo I uploaded?
I tried this but i get an error;
private ...
0
votes
0
answers
18
views
How to connect firebase hosting with wss mosquitto?
I want to connect hosting firebase with wss mosquitto. Domain is https://tkllhk231.web.app/. I configured mosquitto.conf.
listener 8084
protocol websockets
allow_anonymous true
cafile C:/Program Files/...
0
votes
0
answers
12
views
There was an error starting the campaign target_time for running campaign should be at least 10 seconds in the future
I'm encountering an issue while sending push notifications through Firebase. The problem arises when scheduling notifications, and a warning appears stating, "An error occurred starting the ...
0
votes
1
answer
15
views
I get error when using Firebase phone authentication on React Native?
when trying to register with phone number by Firebase phone authentication and using my own number i get this error:
ERROR [TypeError: undefined is not an object (evaluating 'verifier.verify')]
here ...
0
votes
0
answers
15
views
Google sign-in fails with sign_in_failed ApiException 10: error, Firebase project keeps detecting a duplicate SHA1/package name pair
I have a Flutter project using Firebase Cloud Messaging. The application and Cloud Messaging run fine. I use Android for most of my development.
Recently I tried to use the google_sign_in Flutter ...
-3
votes
0
answers
18
views
How to dynamically create a page with firebase and javascript? [closed]
I'm working on a e-commerce website for my diploma project. I don't know how to implement such functionality: The user selects a subcategory => a list of products is displayed based on data from ...
0
votes
0
answers
17
views
Multiple fingerprint verification in flutter [duplicate]
I want to create an app in flutter. For example, I have 5 fingerprints verified on my phone and I want each finger to navigate to a particular screen in my app. Is it possible to do?
I tried much but ...
0
votes
0
answers
18
views
Custom action based on FCM notifications when the app in the background
I'm implementing a feature in an android app where I need to preform a series of actions based on notifications received from other users.
When the app is in the foreground I get the notification ...
0
votes
0
answers
14
views
IOS notifications worked in Xcode testing in release mode but aren't working now that I have released the app to appstore
I have a flutter app that uses firebase messaging to send the admin a notification every time a booking is made, I have testing this both on android and on iOS release mode and it worked perfectly so ...
0
votes
0
answers
12
views
How to set Firebase Security Rules for read and write access for new users and grant access to existing users based on their UID in an Android app?
It grants read and write access only to the authenticated user for the "Attendance," "Name," "Phone," and "dob" fields. The rules ensure that each user can only ...
0
votes
0
answers
20
views
eas local build error: firebase-admin/app could not be found
I am building an Expo app using React Native Firebase and Cloud Functions, the Firebase Deploy succeeds but fails the build EAS_LOCAL_BUILD_SKIP_CLEANUP=1 eas build -p ios --local at the Run Fastlane ...
0
votes
0
answers
10
views
Lock firebase firestore collection and write data + flutter
I have a scenario like this
when a user try to update a field "sample" in a collection :
I have a check to see if the field is empty or not ..
when the field is empty, update the field and ...
0
votes
0
answers
23
views
Could not build module 'ObjectiveC' xcode 15
I am trying to build my project and I am facing the following errors in modules like "Redefinition of module 'Firebase' " and I don't know what's going on. I have removed pods and ...
0
votes
0
answers
12
views
Firebase Messaging (Legacy) is sending multiple push notifications on a single device
While sending bulk notification to all devices (7000+) some of the devices are periodically getting same push notification again and again. We have implement the push notification messaging system as ...
0
votes
1
answer
25
views
Fire base Google Auth Login in Nextjs 13
I want to implement Google Oauth login and maintain login status even when the user refreshes the page using Firebase.
signInWithRedirect redirects to the Google login page, but getRedirectResult ...
0
votes
1
answer
21
views
I am trying to get and store life google map location in firebase using geoflutterfire but facing a version issues
The current Dart SDK version is 3.1.0.
Because geoflutterfire >=3.0.0-nullsafety.1 <3.0.0-nullsafety.3 depends on cloud_firestore ^1.0.0 and geoflutterfire
>=3.0.0-nullsafety.3 <3.0.1 ...
0
votes
0
answers
22
views
FCM push notification via topic triggering twice
I'm building an animal adoption app with a student of mine, and we are getting the following bug, that seems to have appeared by itself as we didn't even touch the FCM part again:
Step 1
When we add a ...
-2
votes
0
answers
29
views
Why the score from Firebase does not display in my textview? [closed]
I have been doing the code and running the code as well, but the output displays 0.00 for each quiz in my TextView.
This is my code in Java.
enter image description here
enter image description here
...
0
votes
1
answer
42
views
authenticated firebase/firestore queries
I'm very confused about how to send authenticated firebase/firestore calls.
I initialized firestore in my web app as below: (using Next.js)
import { initializeApp } from "firebase/app";
...
0
votes
0
answers
12
views
How do I get gapi loading in react?
I have been trying to create a basic event using the google calendar API, firebase, and react but I keep getting the error that gapi is not loading. This is my code:
import * as React from "react&...
-1
votes
0
answers
12
views
Firebase Installations in Unity Simulator shows FakeId
When I run my app in the Unity simulator I get FakeId when I log id
string id = await FirebaseInstallations.DefaultInstance.GetIdAsync();
Is there a way to manually set the InstallationId or is there ...
0
votes
1
answer
14
views
Can Flutter's Firestore cache manage several FirestoreListView with the exact same query without requesting the data several times?
I have an app that has this Firestore structure:
Collection "groups"
title: "Group's title"
members:
- "user_id_1"
- "user_id_2"
posts: SubCollection
Group'...
0
votes
0
answers
18
views
Firebase "Missing required module 'FirebaseFirestoreInternalWrapper'", when i import FirebaseFirestore in my ios app
Everything is ready like firebase, firebase was installed by SDK's. Everything is included like import FirebaseCore , and FirebaseApp.configure(). Maybe I should write in some another context, guess ...
0
votes
1
answer
14
views
Bulk create new records without overwriting in Firestore
I'm ingesting in Firestore a large number of records (company information) from CSV files. I could be creating 100K+ new records from one single file.
The requirement is that if the record is already ...
0
votes
0
answers
22
views
White screen appears when running the application in android studio
I/SurfaceView(19385): updateWindow -- OnPreDrawListener, mHaveFrame = true, this = io.flutter.embedding.android.FlutterSurfaceView{f938425 V.E..... ......ID 0,0-600,976}
I/SurfaceView(19385): ...
0
votes
0
answers
15
views
How to set free trials with firebase stripe extension
I am wondering if it is currently possible to create free trials with the firebase stripe extension...
const sessionRef = await addDoc(
collection(db, "users", user.uid, "...
0
votes
0
answers
36
views
NSInvalidArgumentException: -[__NSDictionaryM doubleValue]: unrecognized selector sent to instance 0x2807e6c40
I've been working on a React Native app utilizing React Native CLI and integrating Firebase for user authentication. The app operates seamlessly in debug mode on iOS with no reported issues.
However, ...
0
votes
1
answer
22
views
Is it guaranteed that userMetaData.creationTime and lastSignInTime are equal on first time login in Firebae?
I am trying to check if user logging in for the first time or not in Firebase authentication. I do not wish to add another custom variable to keep things simple, so I want to rely on the user metadata ...
1
vote
1
answer
18
views
Flutter FirebaseException ([core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp())
I used firebase in app but when I run the code with debugging ı I get this error FirebaseException ([core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp())
my code ...
0
votes
1
answer
44
views
Run failed: Deploy to Firebase Hosting on merge - main
I'm using React, Firebase, and Vite for my TodoMate project and having issues with deploying it.
Every time I run git push to push on github, I receive an email stating the error msg mentioned in ...
0
votes
2
answers
24
views
expo: how can I track user interaction inside my application without relaying on third party dashboards
I have applications deployed on Play Store, and I want to track users' interactions with the applications so I can make the application more user-friendly
things I need to keep track of:
screen time: ...
0
votes
1
answer
38
views
firebase_auth/invalid-credentials The supplied auth credential is incorrect, malformed or has expired? [closed]
I'm creating a flutter application and when i provide the data to the sign in with email and password functionality in firebase this error popup which is auth credential is firebase_auth/invalid-...
0
votes
0
answers
14
views
Failed to sign in with Google: 302 Flutter
I'm doing authentication through google, getting url from backend and making post:
Future<String> signInWithGoogle() async {
final GoogleSignIn googleSignIn = GoogleSignIn(scopes: <String&...
0
votes
1
answer
39
views
Firebase Authentication with Google Sign-In not Writing Data to Realtime Database
I am encountering an issue with my Android app's Firebase authentication using Google Sign-In. The authentication process works correctly, but the user data is not being written to the Firebase ...
1
vote
1
answer
46
views
Best practices for using firebase in development and production with react-native-cli
I'm new to React Native and Firebase and decided to improve my knowledge in this regard, I read some articles on interaction and how to connect one to the other, but I can't figure out how to split my ...
0
votes
1
answer
28
views
in firebase angular I fetch data with snapshotchanges subscribe but whenever I update the date in another function Subscribe call two times
In my angular application one of my components I run the below code in the ngOnInit() function.
const current_date = new Date();
this.afs.collection('/layouts', ref => ref.where('store_uid',...
0
votes
0
answers
11
views
encountering an issue with FCM
I encountering an issue with FCM. Can ASW SNS provide following information when we send push notifications?
The count of users who have received the notification.
The count of users who have not ...
0
votes
1
answer
30
views
Does Firebase accept websocket
I am create my own backend using Firebase Admin Sdk, which i deploy to firebase cloud function, now, i want to implement websocket for 1 to 1 chat.
i dont want to streambuilder of flutter to start ...
0
votes
0
answers
21
views
Why does signInWithPopup not work with shadcn/ui's button?
I'm using Firebase with Next JS 14 and shadcn/ui. I was making a Sign In page and I used shadcn/ui's button to create three buttons to sign in with Google, Github and Facebook. I added an onClick onto ...
0
votes
0
answers
26
views
Integration testing of my app that uses RTK Query to get/update data from/to firebase. I am using Typescript
I need help in testing my food ordering app that uses RTK Query to get/update data from/to firebase. I am stuck as I am not sure if I can wrap my actual redux store that has reducers(RTK Query) while ...
-1
votes
0
answers
28
views
Flutter with multiple environments on Mac OS [closed]
In my project I've got the following apps:
Android and iOS clients, running the same client-side app;
Mac OS dashboard manager, with a management app.
Also, I've created two different Firebase ...
0
votes
1
answer
47
views
Firestore Firebase queries returning no data
I'm having issues retrieving data from firestore.
I have a firebase function that I need to call to get archived orders for a certain year_month combination.
The function is the following:
exports....
-3
votes
0
answers
19
views
offline alternative for gstatic file for firebase flutter web app [closed]
Try to work on flutter web project with local firebase emulator without internet put there is a firebase file I need to use online (CDN) every debugging put this option can't be provided all time for ...
0
votes
0
answers
18
views
AngularFire 17: TypeError when calling setDoc with an object with DocumentReference
I've migrated my app from Angular 16 to 17 and since I couldn't use AngularFire 7.6.* with this version of Angular, I've also updated it to version 17.0.0-next.0
However, I started getting lots of ...
0
votes
1
answer
24
views
How to only require 2FA on certain pages with firebase
I'm making a website that requires the user to log in with email and password to see most the site, but also requires two factor sms authentication when trying to visit a certain high security page.
I ...
0
votes
1
answer
26
views
Why doesn't the offline cloud firestore documentation have code for offline query indexes for flutter?
Documentation I'm referring to
For other languages, I see it uses persistentCacheIndexManager and enableIndexAutoCreation. I tried to search in all files for some combinations of substrings of these ...