Issue I recently connected my Flutter project to Firebase using the CLI, but SHA-1 key wasn’t prompted during the process. I understand that the SHA-1 key is necessary for certain Firebase features like Authentication. How can I manually add the
Continue readingTag: firebase
Chat app showing messages randomly when user sends a message and messages are not in proper order
Issue I have made a basic chat app using firebase after completing my tutorial. but the app does not always show messages in order. Also, my messages are supposed to start from the bottom but they don’t always do. I
Continue readinghow to direct user to their respective screen using firestore when they get logged in,in Flutter?
Issue I have developed a sign up system in my app using firestore in Flutter where user’s data can be retrieved from database with following method: //get user’s data from firestore Future<String?> getUser(String email) async { try { CollectionReference users
Continue readingText Field within Stream Builder causes widget reload
Issue I’m having trouble with my TextField widgets. Every time the user taps on them, the whole widget reloads, and the keyboard disappears. I believe I tracked the problem down to a streambuilder I have on main checking for user
Continue readingCode cant read the document that has a studentID field
Issue I have the studentID string field in each of the documents of my Students Collection Future<Student> fetchStudentDetails(String studentID, String subjectID) async { try { // Replace this with your actual code to fetch student details from Firestore DocumentSnapshot studentSnapshot
Continue readingHow to get only the user's data from firestore rather than all data in the collection?
Issue I’m trying to make a flutter app that allows users to log into an account and then store contact details in a firebase firestore. It currently shows the contact details for all registered accounts. I want the user to
Continue readingExpected a List while deserializing, but got a class java.util.HashMap
Issue I’m trying to get a list of users from Firebase, in Android. I already have the uuid of the user, and using that I’m trying to get the entire object. The uuid is both the node name and a
Continue readingFlutter firebase receiving notification when closed or in background – How to show dialog with message
Issue `I’m developing a Flutter app that utilizes Firebase push notifications, and I’m relatively new to mobile development. I’m facing challenges with implementing a feature where, upon receiving a message, the app should display a popup modal with the message
Continue readingCannot resolve snackbar_layout while adding firebase invitation
Issue I’m trying to add firebase app invitation but getting this error (in the second last line of the code mentioned below): cannot resolve snackbar_layout I’ve already add the dependency: compile ‘com.google.firebase:firebase-invites:11.6.0’ Here is the part of the code, where
Continue readingDoes firebase store user's name and email when using FCM for push messages?
Issue I’m trying to understand how much data is stored on Firebase when we use FCM to send a push notification. I know we need to have a registered unique device ID on firebase to ensure that device gets a
Continue reading