I have created a membership system in my application. I create record with Firebase Auth and store some information in firebase realtime . However, I saw that 1% of the users did not print their data to firebase realtime during record creation. If users’ data is not written to firebase realtime, my application will crash. I haven’t been able to
Tag: firebase-authentication
How can I solve this new Firebase Auth error?
As normal I was working on my actual project and I wanted to add something new to an old activity. When I opened the .java file a new error has shown with a reason that I can not think about. It says that the FirebaseAuth symbol cannot be resolved. I checked my Gradle ( which is updated to the latest
Why do we have to call getCurrentUser() several times Firebase?
I am creating a Journal app. I am currently working on the functionality for if the user is already logged in—bypass the “get started/log in activities” In the video I am watching to create a journal app, the instructor calls mUser = firebaseAuth.getCurrentUser(); several times. He calls it in onStart(), in onCreate() and in onAuthStateChanged(). I can understand why we
Firebase Authentication email
Currently, I am working on an Android project. I started the project with sign up and login pages using Firebase. It goes like this: A new user enters the required details with email and password as …
Firebase Auth not getting initialized in spring boot
I am using firebase admin sdk in my spring boot app. (API app) When I run locally in intelliJ its working fine. But when deployed in tomcat its giving me NPE. In Springboot application public static …
Firebase Authentication: Update Email
I am using firebase to register my users, users can update their data but when updating the email they always send me the task unsuccessful response, and I verified that when updating the email it is …
Data Retrieval from Firestore is erratic
I’m working on an Android app that does the following: Upon app start-up, it checks if a user is logged in, using AuthStateListener. If there is a user logged in, it retrieves data from Firestore. …
How do I log out of my Google Account in Firebase such when I log in again, I can choose the account I would like to sign in with?
This is my coding in my java class file where my log out button is located at. How do I log out of my Google Account in Firebase in android studio, such that when I log in again, I am allowed to …
Updating Firebase Authentication password using user.reauthenticate
To update a user’s password in Firebase Authentication you must re-authenticate : https://firebase.google.com/docs/reference/android/com/google/firebase/auth/FirebaseUser#reauthenticate(com.google….
Getting the current User information from Firebase Realtime Database
I developed a login app in Java where the user can login using their emailaddress and password. This works fine so far, but I have the problem that my UserModel.java is null when I get to my home activity. This also makes sense to me since Firebase Auth only checks the email and password and does not select the relevant