Firebase Google Auth offline access_type in order to get a token refresh

We are using firebase with google authentication. We chose Google because our application makes Google API calls. We authorize these api calls with the access_token included in authorization...

where query in firebase

I am new in Firebase. I have problem while executing query: new Firebase("https://blazing-fire-2739.firebaseio.com/users") .startAt($scope.user.email) //[email protected] ...

Google App Engine vs Firebase

I am trying to decide which option to go with. (or another if it is better) This is for a messaging type app where there will be high volume of notifications and database writes. Option 1 - Google...

Can't get currentUser on load

When trying to check if a user is signed in via firebase.auth().currentUser like this: if (firebase.auth().currentUser === null) { console.log('User not signed in'); } Whenever I refresh the...

How to register a callback for SignOut Event in Firebase Anonymous login?

I am trying to see if its possible to somehow register a callback for onSignOut in firebase? I am trying to use login users anonymously. I have registered for onAuthStateChanged() but its only...

How can I list all users using firebase admin sdk

Is there a way to list all the users using the firebase admin sdk? Documentation only shows getting one user either by uid or email.

Firestore: Add Custom Object to db

Good Morning, I tried adding a new created object from this class: export class Sponsor implements ISponsor { title: string; description?: string; creation: ICreation; ...

How do I get the document ID for a Firestore document using kotlin data classes

I have kotlin data class data class Client( val name: String = "", val email: String = "", val phone: String ="") { constructor():this("","","")} I have firestore populate the data...

Display data from firebase to HTML table

I would like to ask some help, I'm a front-end developer and we currently have a project/task that is all about the back end. My team members decided to used firebase as a database in our web...

Can Firestore update multiple documents matching a condition, using one query?

In other words, I'm trying to figure out what is the Firestore equivalent to this in SQL: UPDATE table SET field = 'foo' WHERE <condition>` Yes, I am asking how to update multiple documents, at...

Order Firestore data by TimeStamp in Ascending order

I am storing Ideas posted by the application in Firestore. The data is stored in Firestore like this Ideas/{documentID}/IdeaObject. The issue is when I retrieve the data it is not sorted w.r.t...

Firebase phone authentication using nodejs

I looked over the documentation of firebase but I couldn't get any answer of verifying user identity by phone on the server side. All what I found was the FIREBASEUI or the client side...

CocoaPods could not find compatible versions for pod "Firebase/Core” | cloud_firestore, Flutter

I am having some issues in the pod, see below Launching lib/main.dart on iPhone X in debug mode... Running pod install... CocoaPods' output: ↳ Preparing Analyzing dependencies Inspecting...

Firebase firestore document is not created properly

I am working with cloud firestore and for some reason, I can't create new documents(up until this point i could) FirebaseFirestore db; Calling the method "createUserDoc" to create new...

Flutter - remove a firebase document onTap()

I have a ListView, filled with Firebase collection as chat messages. When the user long press a ListTile (an item on the list), I show a BottomSheet. When the user clicks the Delete button on the...

Execution failed for task ':app:checkDebugDuplicateClasses'. Ionic4 Android

I'm currently working on an ionic4 application, but recently it stopped working while building the application on an android reall device after adding https://ionicframework.com/docs/native/fcm...

Is there a way to get all documents in a subcollection (Firestore)

I'm having difficulties querying all documents inside a subcollection in my Firestore database. (I am using Node.js) My goal is to get all the data from every document inside the subcollection...

How to edit the Firebase DynamicLinks 404 (Dynamic Link Not Found) page?

I'm using Firebase DynamicLinks and wondering if there is a way to edit the page that appears when the user opens an invalid or deleted link? I tried to provide the 404.html in the public folder...

TypeError: firebase.default.messaging is not a function (in '_firebase.default.messaging()','firebase.default.messaging is undefined)

I want to send notifications using firebase cloud functions so I am trying to get a token using firebase.messaging().getToken() but I keep getting the error: TypeError: firebase.default.messaging...

The Android Gradle plugin supports only Crashlytics Gradle plugin version 1.28.0 and higher

The Android Gradle plugin supports only Crashlytics Gradle plugin version 1.28.0 and higher. The following dependencies do not satisfy the required version: root project...

Firestore HTTP Insomnia query : Stream error in the HTTP/2 framing layer

I'm trying to query my Firestore database using an HTTP query via the Insomnia API: https://firestore.googleapis.com/v1/projects/typebot/databases/(default)/documents/users with this body: { ...

Firestore rule if true or false

In firestore you can have rules like below: service cloud.firestore { match /databases/{database}/documents { match /products/{document=**} { allow read, write: if true; } } What...

Upgrade to Firebase JS 8.0.0: Attempted import error: 'app' is not exported from 'firebase/app' (imported as 'firebase')

After upgrading to 8.0.0, I get the following error: Attempted import error: 'initializeApp' is not exported from 'firebase/app' (imported as 'firebase'). My import looks like this: import * as...

How to check If user is new or existing when login with google using firebase in flutter?

I am working on a project in which user data will be saved in Fire store in this i am making new document for user when the user sign In with google. here is my code below import...

Firebase has not been correctly initialized. Have you added the "GoogleService-Info.plist" file to the project?

I keep getting this error when tried to initialize my firebase on flutter iOS application. [VERBOSE-2:ui_dart_state.cc(186)] Unhandled Exception: [core/not-initialized] Firebase has not been...

Project ID Required to Access Firestore Error

I wish to use the firebase admin-sdk but for some reason, I am getting a "project id is required to access Firestore error". I have downloaded an admin-sdk json file from the firebase console and...

react native facebook login using expo client: The App_id in the input_token did not match the Viewing App

I am using expo-facebook to integrate a Facebook login using expo and firebase. Everything looks to be working and I log into Facebook but get an OAuthException once I authenticate using Facebook...

Empty runtime config for firebase functions when running locally

So i'm getting the infamous empty functions config() when running functions locally 😡 Error I'm getting: It looks like you're trying to access functions.config().stripe but there is no value...

TypeError: messaging.getToken is not a function

So I'm working on a firebase cloud messaging web app and getting the error: Error: TypeError: messaging.getToken is not a function I tried a lot to troubleshoot it, searched on google too, but...

Why I cannot access Firebase Storage

I'm using Firebase Storage to keep some files of my App. Suddenly I started to get an SSL errors on both iOS and Android platform and no idea what's the issue. iOS : NSLocalizedDescription=An SSL...