Latest Questions tagged Firebase

Browse all latest questions tagged Firebase

Published 07 Sep, 2022
Java - Cannot resolve method updateUI()

I'm trying to add a google login with firebase to my project, following the offical documentation for google sign-in. I already seen othe...

Published 24 Oct, 2022
Java - Notification FCM android java doesnt work Service took too long to process intent: App may get closed

I have a problem with firebase cloud messaging. I use the topic method to send a notification to android devices. It was working fine at the beginning, but after I tried several times, my android didn...

Published 09 May, 2022
React - Firebase hosting deployment failing

Running firebase deploy will run for a few minutes before giving me a timeout error Error: ESOCKETTIMEDOUT I've successfully deployed multiple times earlier, without changing anything but the fronten...

Published 16 Apr, 2022
Javascript - How to get a JavaScript Date object from the new `firebase.firestore.FieldValue.serverTimestamp()`

Firebase Firestore recently changed how they manage timestamps, and I'm unable to retrieve a date object from the timestamp. How do I get a date object from the new firebase.firestore.FieldValue.serv...

Published 03 May, 2022
React - How do I use the Firebase onAuthStateChange with the new React Hooks?

I am using Firebase to authenticate users for my application. I have created the SignIn and SignUp forms and can successfully create new users and sign in with stored users. However the issue comes wi...

Published 23 Apr, 2022
Javascript - How to loop in object that returns empty but actually has an object in javascript

I'm hard stock with this problem, actually I got an objects from firebase and push them in an array, but when I loop this in foreach it gives me an empty result: Console: [] 0: {org_Address: 'Talisay...

Published 24 Apr, 2022
Javascript - 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 application. And it is from there that I...

Published 16 Apr, 2022
Javascript - Best way to manage Chat channels in Firebase

In my main page I have a list of users and i'd like to choose and open a channel to chat with one of them. I am thinking if use the id is the best way and control an access of a channel like USERID1-...

Published 23 May, 2022
Reactjs - Attempted import error: 'firebase/app' does not contain a default export (imported as 'firebase')

I tried to work with firabase authentication using React but it says the error, "Attempted import error: 'firebase/app' does not contain a default export (imported as 'firebase')". If I use...

Published 03 Jul, 2022
Reactjs - Handling firebase auth with react-router

I am building a React + Redux + Firebase app with webpack and am trying to figure out the best way to handle protected routes and redirects. I have tried using onEnter() with setTimeout() like many ex...

Published 01 Jul, 2022
Reactjs - ReactJS app deployed to firebase hosting not updating after first deployment

hope you all are doing well and staying safe. I have been trying to deploy my react app to the net using firebase, and all was going well until i tried updating it/redeploying it. It shows ✔ Deploy...

Published 31 Aug, 2022
Java - How to get an array from Firestore?

I have the data structure illustrated below stored in Cloud Firestore. I want to save the dungeon_group which is an array of strings stored in Firestore. I have difficulty in getting the data and stor...

Published 28 Aug, 2022
Python - - Invalid HTTP method/URL pair

I have a script where I tried to upload an image to the storage of firebse with pyrebase for which I use thestorage function but it does not work and it throws the following error Traceback (most rec...

Published 18 Aug, 2022
Python - Installation of pyrebase returns an error

I am trying to install pyrebase on a virtual environment of pyhon 3.6, but I get a long list of errors: Collecting googleapis-common-protos (from gcloud==0.17.0->pyrebase) Using cached https:...

Published 29 May, 2022
Reactjs - TypeError: _firebase__WEBPACK_IMPORTED_MODULE_2__.default.collection is not a function

This is my first time asking a question on StackOverflow. I am making a school project and I am a beginner at Firebase and JavaScript. I am trying to make a Tinder clone. React is telling me there's a...