Issue so im building an app which has 2 users(staff and student) and the staff must accept/verify users manually. thereby when the student registers/signs up this would show up as a request on the staff side then after the staff
Continue readingTag: firebase-authentication
Send firebase storage authorization as url parameter from a flutter web app
Issue I would like to know how to make an authorized request to firebase storage using the user Id Token as a parameter in the url. Right now with a firebase rule of ‘request.auth != null’ I receive a 403
Continue readingAn exception was throw by _MapStream<FirebaseUser, User> listened by StreamProvider<User>, but no `catchError` was provided
Issue <— UPDATE —> FOUND THE SOLUTION. CHECK ANSWER BELOW <— UPDATE —> Any ideas why this is happening, what causes the bug, and how do I fix it? I was following TheNetNinja’s tutorial on YouTube and I’ve seen people
Continue readingStreamProvider listening to User doesn't update when User changes
Issue In my app, I listen to changes from a User Document in Cloud Firestore. I do this by getting the current user ID, and then getting the document associated with that ID. class UserService { … //GET A USER’S
Continue readingFlutter Firebase Phone Authentication error on Android
Issue I want to verify the Phone number with Firebase Auth but it gives the following error, Notes : My sha1 and sha256 keys are attached. It works when I manually add the phone number to firebase. Works smoothly on
Continue readingThe getter 'uid' not defined
Issue i’m trying to create a food track app on android studio, it’s my first time and i’m working with firebase_auth 3.3.12. my code in the aut.dart is: import ‘package:firebase_auth/firebase_auth.dart’; import ‘package:my_firstapp/models/user_model.dart’; class AuthService { final FirebaseAuth _auth = FirebaseAuth.instance;
Continue readingFlutter Format Exception : Unexpected Character (at character 1)
Issue I am getting a Exception in Flutter project. The error looks like below: Exception has occurred. FormatException (FormatException: Unexpected character (at character 1) <!DOCTYPE html> ^ ) This is showing in the “throw error” line. The code is below:
Continue readingFirebase_auth cannot build release apk on flutter [firebase_auth: ^0.16.1]
Issue Describe the bug Hi, I was working on a project related to Firebase and using the latest version of firebase_auth: ^0.16.1. I can’t make a release build on this package. The following information on my flutter doctor and error
Continue readingFlutter, android project runs into an error while compiling
Issue Ran into build errors, migrated to android X, Changed the plugins ………………………………. Running “flutter packages get” in prototype… 1.4s Launching lib\main.dart on Redmi 5 Plus in debug mode… registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask
Continue readingProblem retrieving SafetyNet Token: 7, Flutter – Firebase Phone_Auth
Issue I’m trying to implement the phone_auth provided by firebase, but it throws these errors and force closes when FirebaseAuth.instance.verifyPhoneNumber() is called. E/zza (12829): Problem retrieving SafetyNet Token: 7: W/ActivityThread(12829): handleWindowVisibility: no activity for token android.os.BinderProxy@28af8e3 W/mesecure.wmsap(12829): Accessing hidden method
Continue reading