Category "firebase"

firebase.auth().currentUser is null

I'm trying to retrieve the UID of the current logged-in firebase user in my Angular 4 app. Though, if I'm logging 'firebase.auth().currentUser' to the console I

Moving or copying data from one node to another in firebase database

I am trying to move my data present at one node i.e cart_details/UID to another node orders/UID/order1. I tried different ways of doing it but all seem to be a

Firebase messaging warning messages on service worker install process

I'm using firebase for push web notifications, my file firebase-messaging-ws.js is something like this: importScripts('https://www.gstatic.com/firebasejs/7.19.

Firebase - get childrens of children

I am looking for a good solution to take data from a child of children. As You can see in my "users" database i have nodes with users uid's, and in this nodes i

Firebase/Firestore - database has insecure rules?

I have a SwiftUI application, which uses Firebase as a back end, and my rules are something like this: rules_version = '2'; service cloud.firestore { match /d

Unable to upload data on firebase console

I am Unable to upload data on firebase console. I have written all the code, import all the libraries, and also follow all the steps to upload data on firebase

check if a Firebase App is already initialized in python

I get the following error: ValueError: The default Firebase app already exists. This means you called initialize_app() more than once without providing an app

Redux Toolkit: can I use createAsycThunk with Firebase listener functions (e.g. firestore.collection.onSnapshot)

Is there a way to use createAsyncThunk with Firebase listeners, for example firestore.collection.onSnapshot? It may not work because the way onSnapshot works (i

Get the auto-generated id - Firebase

I'm trying to retrieve the id of the element that I inserted in the database with .key. However, it returns the user value instead of the auto-generated id. Ho

Firebase Admin SDK with Java

I am trying to setup firebase admin sdk in a Java project. Following the steps at https://firebase.google.com/docs/admin/setup#add_the_sdk I successfully added

How to make a complex query to the firebase in flutter

My firestore-firebase database looks like: products -> collection Name | uid1 -> Document id | price : "200" | category: "a" | uid2

Flutter: Notification icon showing white circle

I have tried everything including changes in manifest file as well as putting the icon property in notification function but the notification icon is still whit

Flutter - [Firebase] Your Cloud Firestore database has insecure rules

I Don't know why I am getting this mail, I never used Firebase Database in my flutter project, After clicking on the hyperlink it redirects to this code rules_

Flutter iOS firebaseMessaging doesn't handle RemoteMessages without Notification block

I intercept messages as follows: FirebaseMessaging.onMessage.listen((RemoteMessage message) async { print('Message data: ${message.data}'); }); I send mes

Where do I get SHA-1 certificate fingerprint using flutter? (using flutter create --androidx ProjectName)

I want to make a simple login page using flutter, and using it with firebase. The first step when I created the project my code: flutter create --androidx Proje

Newline character \n Not Working While Loading Text From Firebase

Hi i am using some text data to load from firebase and then showing it as Text.I am using Text() widget .I have a field called description in my firebase docume

Cannot run the Flutter project with Firebase in MacBook M1

I am trying to build a Flutter project using Firebase on my MacBook Pro M1. Everything was fine until I added the Firebase Core dependency. Now I can't run the

Android Studio's project gradle file changed?

I just updated Android Studio and started a new project. But now the project grade file seems different. Here are the lines: plugins { id 'com.android.appli

credentials used to authenticate does not have permission

I am trying to use firebase cloud messaging to deploy a http push notifications onto an actual device. When so, I am getting the error "The credential used to a

Is there a workaround for the Firebase Query "NOT-IN" Limit to 10?

I saw a similar question here: Is there a workaround for the Firebase Query "IN" Limit to 10? The point now is, with the query in, the union works, but with the