Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
30 views

Internal error when calling firebase auth's verifyPhoneNumber on IOS device

In a Flutter app, when calling Firebase auth's sms authentication FirebaseAuth.instance.verifyPhoneNumber on IOS device (sim and physical), it causes internal_error with message "An internal ...
Danp's user avatar
  • 11
2 votes
0 answers
62 views

My flutter App is crashing after firebase Auth

I've been working on this issue for weeks now and still haven't found any answer. I found that it is the Firebase auth after retrieving the token from Google or Facebook which is crashing the app ...
adolphe1501's user avatar
2 votes
0 answers
26 views

Firebase Auth UI with GoRouter causing GoException on first install

I have a flutter app that uses go router to navigate between screens. After i added firebase auth UI to my app, I got the error below when I launch my app after the first install: GoException: no ...
Mervin Hemaraju's user avatar
1 vote
2 answers
62 views

How can I make sure the inputted email is a real one

I am new to flutter and dart, but have some fundamentals of programing. When I enter a random email with a random password, Firebase will create a user with that email and password via ...
Abdlrhman Bashir's user avatar
0 votes
3 answers
78 views

I have a problem with a Init State when Login Out from Firebase

I have an app that loads a list of stores a client has activated in a subscription. I use a SetState and InitState to load the information and it works, but when i go back to the main page and press ...
Anthony Von Der Kreuz's user avatar
1 vote
1 answer
37 views

How to reset a StreamProvider when switching users in Flutter?

I’m building a Flutter app and I’m using a StreamProvider in the main.dart file to provide real-time updates about the logged-in user’s data. However, I’m encountering an issue: • When I log out and ...
carlosg56's user avatar
0 votes
1 answer
60 views

Failed to build iOS app when adding firebase_auth

When removing firebase_auth package then project runing on ios, otherwaie giving this error? Swift Compiler Error (Xcode): Expected declaration /Users/tecspine/Flutter%20Projects/plus-one-mobile/ios/...
Noman Khan's user avatar
1 vote
0 answers
39 views

Firebase Phone Auth not sending SMS to real phone Numbers

I would like to share my approach i am using to send OTP SMS to phone number for phone authentication. First, i have sat-up firebase project correctly and enabled Email and Phone authentication, i ...
editix's user avatar
  • 578
3 votes
1 answer
89 views

Flutter Firebase Auth Redirection Not Working After Login When Previously Logged In and Then Logged Out

I'm working on a Flutter app with Firebase Authentication, and after logging out and trying to log back in, the user remains stuck on the LoginPage until a hot restart, at which point the redirection ...
julien belinga's user avatar
2 votes
0 answers
46 views

My Flutter app using Firebase gets stuck on loading screen after pressing button

My Flutter app using Firebase gets stuck on loading screen after pressing button. button code: TextButton(onPressed: (){ _submit(context); }, child: Text("Sign In") ), void ...
Antoniy274's user avatar
2 votes
2 answers
174 views

firebase email verify redirect requires dynamic links, which will be shut down soon

I want to redirect back to my app after completing firebase email verification email.this is the code that I use. User? user = FirebaseAuth.instance.currentUser; if (user != null && !user....
amirhossein ghabeli's user avatar
1 vote
1 answer
40 views

TypeError: Cannot read properties of undefined (reading 'getApp');

So I was running my application fine as a Chrome instance with the code below. void main() async { WidgetsFlutterBinding.ensureInitialized(); // Check if the app is running on the web if (...
xoxoxoco's user avatar
1 vote
1 answer
51 views

Flutter firebase exception not being caught by try-catch block

I am trying to implement simple login using flutter and firebase(just started learning). The user-not-found error is not being caught by the try-catch block in the code. Code in Question TextButton( ...
Anshumaan Mishra's user avatar
0 votes
0 answers
36 views

Registering user doesn't fetch anymore in collection 'users'

I am building an app in Flutter, but I have an issue when I try to register and login users. Since I added Stripe, I'm receiving errors in the login and signup screen as: flutter: Login error: type '...
sanda17's user avatar
  • 109
0 votes
1 answer
126 views

How to connect firebase authentication to linkedin with flutter? [duplicate]

I'm trying to connect my linked authentication to firebase but couldn't able to do that. I've succesfully authenticated with linkedin using linkedin_login plugin and received accessToken and profile ...
Shruti Ramnandan Sharma's user avatar
0 votes
0 answers
23 views

Flutter Firebase auth handle errors [duplicate]

I want to create a user account using Firebase createUserWithEmailAndPassword. I want the conditon thatif there is no error in the FirebaseAuthException it should create the account and then later ...
Victor Woode's user avatar
0 votes
0 answers
34 views

Logout issue once the app has been uninstalled. (firebase)

In my flutter app I keep the user's status on firebase 'active' or 'inactive'. But I ran into this problem where if the user deletes the app without signing out the status remains active. Is there a ...
Omskka's user avatar
  • 1
2 votes
2 answers
94 views

Firebase Authentication: Email validation always returns "Email not registered" in Flutter

I'm working on a Flutter app where I'm using Firebase Authentication for email and password sign-in. The app has a flow where users first enter their email on the sign-in screen. After they click &...
IniOluwa Longe's user avatar
0 votes
2 answers
80 views

Flutter Firebase User Document ID & UID is Different

I have a collection "user" and the document ID of the user is different from the current user's UID. So when I use FirebaseAuth.instance.currentUser!.uid in the following code it doesn't ...
Raj's user avatar
  • 123
1 vote
0 answers
344 views

Firebase Authentication Error: SMS Verification Code Request Failed (Error Code: 17499, Error Code: 39)

Issue Description I'm encountering an issue with Firebase Authentication, specifically when trying to request SMS verification codes for user authentication. The request fails, and I receive the ...
Ziyad godil's user avatar
0 votes
2 answers
49 views

Flutter Error when running: Exception: Gradle task assembleDebug failed with exit code 1

I was trying to make a chat app using flutter and firebase, but then this error happens. Here are all of the errors > There was a failure while executing work items > A failure occurred ...
MilanLiz's user avatar
0 votes
0 answers
185 views

How to resolve RECAPTCHA token expired and invalid error?

Message is ==>The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired. Eror is The phone verification request contains an ...
Vishali S's user avatar
0 votes
1 answer
51 views

Firebase exception handling

How can I get a specific error from firebase authentication only thing that e.code gives me is (The supplied auth credential is incorrect, malformed or has expired.) So I can declare that the error is ...
Ali Basouli's user avatar
0 votes
1 answer
21 views

Firebase authChanges triggering twice

class MyApp extends StatefulWidget { const MyApp({super.key}); @override State<MyApp> createState() => _MyAppState(); } class _MyAppState extends State<MyApp> { late Stream<...
Carl.G's user avatar
  • 309
0 votes
0 answers
21 views

flutter app fire base firestore database configuration error for run time app

Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) 2 : Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;...
Dimmithra Perera's user avatar
0 votes
1 answer
52 views

How to Subclass FirebaseAuth User Class in Flutter

I'm new to Flutter/Dart and cannot figure out how to subclass the FirebaseAuth User class. I have been watching a rather old Firebase tutorial so I have had to change things a bit as the API has ...
cberube's user avatar
  • 33
0 votes
2 answers
35 views

Flutter internal error while using signInWithEmailAndPassword

I'm trying to create a sign-in form using flutter and firebase. I'm facing the following error while using the signInWithEmailAndPassword function: [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] ...
Yusuf Saad's user avatar
0 votes
0 answers
43 views

My flutter login Page gives this error, Null check operator used on a null value See also: https:/'flutter.dev/ docs/testing/errors

I am developing a PLant Disease Detection app using Flutter, and despite my best efforts, I encountered an unexpected error. I am creating a login page for my disease detection app, below is my code. ...
Touqeer Abbasi's user avatar
0 votes
1 answer
42 views

Flutter - combine Navigator pop and pushNamed

I want to add a simple feature in my flutter app : Future<dynamic> showTextFieldDialog(BuildContext context) { return showDialog( context: context, builder: (BuildContext ...
leuji's user avatar
  • 101
-2 votes
1 answer
42 views

When I test the app, it says both mail and password are incorrect, even though I only entered the mail part incorrectly

class LoginScreen extends StatefulWidget { const LoginScreen({super.key}); @override State<LoginScreen> createState() => _LoginScreenState(); } class _LoginScreenState extends State&...
junior's user avatar
  • 33
2 votes
0 answers
438 views

Flutter firebase google sign in error BAD_TOKEN_REQUEST

I have this code where I want the user to log in to my application using google sign in from firebase, the code works fine initially and I left it for days, when I came back and re-check the ...
Virist's user avatar
  • 86
3 votes
1 answer
186 views

GoogleSignIn().signIn() causes IPhone app to crash

Steps to reproduce Call the GoogleSignIn().signIn() function Expected results Open popup so I can log in like on Android (It works completely fine on Android, it was working fine on iPhone aswell on ...
Sohatzky's user avatar
0 votes
1 answer
36 views

Flutter Firebase android app does not launch

i have a weird problem, app launches on chrome. But on android device stacks and says "Launching lib\main.dart on sdk gphone64 x86 64 in debug mode..." I read almost every question on stack ...
codebin's user avatar
  • 29
1 vote
1 answer
107 views

App not authorized Firebase Flutter android

I have a Flutter Android app that uses Firebase Authentication. It was working fine with the old Firebase project. After switching to a new laptop machine to run project on different device I get the ...
RIZWAN ALI's user avatar
0 votes
1 answer
27 views

Flutter bloc values issue

I have problem with values inside sign_in_controller despite the fact that the email and password print correctly thanks to the sign_in_bloc, values ​​​​inside sign_in_controller are always empty when ...
user25043118's user avatar
0 votes
1 answer
102 views

reset password send link even to non registred accounts [duplicate]

I have an issue in my reset password code. If the user put an email that is not registered, it also send him the reset link. I want only the registered emails only, and if they are not registered it ...
nawaf's user avatar
  • 1
1 vote
0 answers
39 views

catch exception when using FirebaseAuth

I am trying to create a login using firebase authentication, I have already managed to create new users and store it in the system, I can log in if I enter the username and password correctly but when ...
rodrigo s's user avatar
1 vote
1 answer
7k views

Creating user with [email protected] with empty reCAPTCHA token

I am working on a flutter app with authentication feature with firebase as datasource. In my Creating user method, When the createUserWithEmailAndPassword method is invoked, the app freeze there. here ...
Deepak's user avatar
  • 11
0 votes
0 answers
183 views

Flutter Error Method not found FallThroughError throwFallThroughError

I am working in a already developed project and unable to install the application. And getting this error Error: The method 'FallThroughError' isn't defined for the class 'ActionCodeInfo'. - '...
Developer 's user avatar
0 votes
3 answers
569 views

Delete Google account users in Firebase

I have an app in Flutter with Firebase login, I provide the option to delete a regular user with email and password but how can I delete a user that signed in with Google, should I deal with it or ...
Tevel's user avatar
  • 49
1 vote
0 answers
37 views

Removing reCAPTCHA challenge during Firebase SMS verification in Flutter app for Android and iOS

I'm developing a Flutter app that utilizes Firebase phone number authentication for user verification. However, during the SMS verification process, users are encountering reCAPTCHA challenges, which ...
axay nar's user avatar
0 votes
1 answer
108 views

Google sign in not working in release version after adding sha keys from google console

I have this error after creating release version: PlatformException(sign_in_failed, com.google.android.gms.common.api.b: 10: , null, null). I know that 10 means that it is developer error which most ...
Sohatzky's user avatar
1 vote
1 answer
76 views

Firebase Auth Exception not caught by catch

When signing in with wrong credentials an Exception is thrown as expected. However, the catch block fails to catch the Exception resulting in a crash. Exception has occurred. FirebaseAuthException ([...
StativBus's user avatar
1 vote
1 answer
747 views

How to change email for firebase users?

Now that updateEmail is deprecated for updating the Firebase user's email, how to update the user's email? final user = GetCurrentUser().getUser()!; AuthCredential credential = EmailAuthProvider....
MAA's user avatar
  • 1,355
0 votes
0 answers
72 views

flutterfire configure does not work after correct installation

I have tried to implement firebase for authentication purposes in my flutter project. I have followed the docs and installed the CLI, added the PATH environment variable, logged via 'firebase login'. ...
Franek Lewandowski's user avatar
0 votes
0 answers
98 views

Must I logout the user after updating their email address?

I have been working on simple profile editing functionalities for my application. A user's journey to update their profile info may look like the following. Navigate to ProfileView(), click on a ...
Jason Bennett's user avatar
0 votes
1 answer
538 views

FirebaseAuth cannot catch "user-not-found" and "wrong-password" errors [duplicate]

So I created a simple registration cum login for an app using firebase, and I wrote this code for error handling. switch(e.code) { case "invalid-email&...
Vignesh's user avatar
0 votes
1 answer
127 views

Given the nullable type `bool?`, how do I get the non-nullable one `bool`

I'm getting this error while trying to run a firebase app. I have tried flutter upgrade with no solution to the error I was hoping to see the refreshed flutter app UI but after running the main.dart ...
Abhijeet's user avatar
0 votes
2 answers
43 views

flutter User class can't be null

I'm making flutter project, but I search in google everywhere. Error message: The argument type 'Null' can't be assigned to the parameter type 'User'. I want to make app go login page if user is ...
user23713913's user avatar
1 vote
0 answers
997 views

I'm trying to use Firebase to auth by using email/password and found this error

I/FirebaseAuth(11262): Logging in as [email protected] with empty reCAPTCHA token W/System (11262): Ignoring header X-Firebase-Locale because its value was null. W/System (11262): Ignoring header X-...
OneRider12's user avatar

1
2 3 4 5
21