Category "firebase"

firebase.auth().currentUser and onAuthStateChanged always null inspite of being signed in

The firebase.auth().currentUser is always null, as is the onAuthStateChanged listener in my node.js code. However, the user is signed in at my front end swift a

Should I have the web version of an app in the same Flutter project for android and iOS, even though the web version is 100% different?

I have a Flutter app running on both android and iOS (Flutter + Firebase) but I'm implementing an admin dashboard that will only work on the web version. I was

Firebase notification message no custom sound on Android 11 (legacy)

Notification message received while the app is in background procudes no sound. It is working on Android 8 and 10 but not in 11. The test app is very simple, it

Get realtime data change update when data changes on Firebase Realtime Database

I have written this code to fetch the data. But I want to fetch updates without restarting the activity as data changes in real-time in the database. I want to

Force an existing user to sign-in with a specific account

Similar to Invoke "Verify it's you" authentication page from a Firebase application use case, but my case differs in that the user is not logged in, but I want

Firebase Hosting pass variables in url

I'm building an app in Flutter mainly based on IOS and Android. We have a review system, and for new signups we want to collect referalls from past customers. W

CORS BLOCKED 'Access-Control-Allow-Origin' Firebase Functions not allowed

I had an error when sending data to a firebase database : Access to fetch at 'https://us-central1-pwagram-f39a5.cloudfunctions.net/storePostData' from origi

Google sign-in doesn't work after releasing apk from flutter

The app in debug mode was working fine and everything is good. after releasing apk, Google sign-in doesn't work. I tried all the possible solutions, I checked f

how to call firebase callable functions from localhost?

I get this error: whenever this cloud function is called: const makeAdmin = firebase.functions().httpsCallable("makeAdmin"); makeAdmin({

cannot find module "firebase-functions"

I imported and downloaded: firebase-functions and firebase-admin using npm i <package> but it give me a lint error like: cannot find module "firebase-func

Flutter - how to get current context?

I am using Firebase cloud messaging for notifications, and i want to show a dialog or snackbar once i receive a notification when i am inside the application, m

unable to show real ads for 2 months, test ads working well, admob account valid (no missing info)

My ads do not work for 2 months and DONT HAVE ANY INFO ABOUT WHY. This problem drives me crazy. Hello, I have a big problem with AdMob (their support form does

Flutter-Firestore: - Code to retrieve data from firestore then save/use it

I am very new to Dart, and coding in general. I have produced this code after watching tutorials on YouTube. For the most part, I have been able to troubleshoot

(Flutter) How to retrieve Firebase Storage images in a Streambuilder with the paths stored in Firestore

In my code, I have a streambuilder that returns items from Firestore using the geoflutterfire package to load items that are within a radius of the user. These

Unit testing callable firebase function with App Check enabled

I am trying to unit test my firebase callable cloud function according to the examples provided. See Firebase Example. It boils down to something like this cons

Firestore returns empty list [duplicate]

I have 3 entries in my firestore database. I need to query the data and fetch it, then input it into an ArrayList. The problem is my query is

Expo - React Native / Firebase app, APK working different than on Expo go app

I have built an app with Expo & firebase and its working with the expo go app. I ran "expo build:android" and got my APK file. The app loads and my Login an

Google sign in with Firebase 09 : signInWithPopup and signInWithRedirect return an undefined error

Here is the authcontext import and code import {signInWithPopup, GoogleAuthProvider, createUserWithEmailAndPassword, getAuth, onAuthStateChanged, signInWithEmai

How to implement the intercom/push-to-talk/walkie-talkie feature based on Firebase on Android and iOS?

I’m using Firebase as the cloud database and handling authentication for my Android and iOS APPs, it works quite well. Recently I want to add the intercom

Separate Firebase Analytics from different Firebase apps

I've a single Firebase project which includes multiple apps in multiple platforms (e.g. delivery company with different apps for customers and riders, some of t