Skip to main content

All Questions

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

Firebase Email Link Sign-In: ‘The operation is not valid’ error on iOS (Flutter, Firebase Hosting, No Dynamic Links)

I’m implementing Firebase Email Link Sign-In in my Flutter app and using Firebase Hosting instead of Dynamic Links. It works fine on Android, but on iOS, I get the following error: The operation is ...
nicox555's user avatar
0 votes
0 answers
16 views

Flutter Firebase Email Verification Issue when account is created with PHONE NUMBER

I an have an app where a user logs in with phone number and recieves an ATP. If data is available, then user is redirected to the welcome screen. If user data is not available, they are redirected to ...
AHMAD Farooq's user avatar
1 vote
1 answer
104 views

Google Sign In won't work after uploading app to Play Store

I am building a flutter app and i'm testing the release on the play store with a closed testing. The app needs the user to be authenticated using Google Sign In, and for what i've tried it works every ...
Tox46's user avatar
  • 87
0 votes
1 answer
34 views

FATAL EXCEPTION: Firebase Blocking Thread #0 - Firebase Auth / Flutter crashes on mobile auth verification

While setting up Firebase Auth for my Flutter application using the flutterfire package, I followed the recommended setup steps by adding the package via flutter pub get and then running flutterfire ...
Maxime Franchot's user avatar
0 votes
1 answer
36 views

Flutter: How to use GoRoutes correctly with Firebase Auth

I have a Flutter app where I use GoRouter for the routing part, FirebaseAuth for the authentication, Riverpod for the state management and Firebase Realtime for the database. When a user registers on ...
Mervin Hemaraju's user avatar
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
0 votes
1 answer
48 views

why riverpod provider doesn't have any value even after it changes its state through fetchCurrentUserData(uid) method?

this tuns first before returning any widget to home: of materialApp(), Widget checkLogin() { loggerNoStack.i("Login checking..."); return Consumer(builder: (context, ref, child) { ...
Harsh Sutariya's user avatar
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
0 votes
0 answers
47 views

How to Retrieve User's Name with Apple Sign-In using Firebase Authentication in Flutter?

I'm using Firebase Authentication in my Flutter app and integrating Apple Sign-In via AppleProvider from the firebase_ui_auth package. However, I noticed that only the email is being requested, and ...
Identicon's user avatar
4 votes
4 answers
695 views

"type 'Null' is not a subtype of type 'String' in type cast" during "flutterfire configure"

I am trying to set up Firebase in my Flutter project using flutterfire configure after firebase login to get a firebase_options.dart file to be able to connect to the Firebase environment. This is ...
soosmann'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
0 votes
0 answers
34 views

FirebaseAuthException ([firebase_auth/invalid-credential] access_token audience is not for this project

When I try to sign in to Firebase, it prints: W/System (12761): Ignoring header X-Firebase-Locale because its value was null. W/System (12761): Ignoring header X-Firebase-Locale because its value ...
tchier zahreddine'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
0 answers
32 views

firebase_ui_auth's showDeleteConfirmationDialog in ProfileScreen is crashing

I wrap the firebase_ui_auth's ProfileScreen with my own ProfileView for the sake of clear code. The problem is the App stops, do NOTHING when the Delete Account dialog shows. account delete ...
Naing's user avatar
  • 1
0 votes
0 answers
38 views

Flutter Firebase Authentication Refresh Unexpectedly Every 2 Minutes

StreamBuilder<User?>( stream: myAppKey.currentState! .getFirebaseAuth() .authStateChanges() My application is idle, but every two minutes, the StreamBuilder refreshes unexpectedly, ...
Spyros Gashel's user avatar
0 votes
2 answers
113 views

Google sign in not working after publishing app

After releasing the app the google sign in package in flutter not working and getting this error PlatformException(sign_in_failed, com.googl e.android.gms.common.api.ApiException: 10:, null, null) ...
ousama abo khalil'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
0 votes
1 answer
26 views

flutter firebase reset password without dynamic links

In my app I use this code to send reset email link to user email: Future<BaseResponse<bool, BaseError>> sendResetPasswordLink( String email, ) async { try { // await _auth....
amirhossein ghabeli's user avatar
0 votes
0 answers
25 views

App get blocked after pressing sign in button with firebase

I have a problem with my Flutter app, after running it going to the sign-in page and filling the info. the app gets blocked after pressing the sign-in button. the await became green after the app got ...
Elwalid's user avatar
-1 votes
1 answer
36 views

Remove Padding on Top of SignInScreen from Firebase Auth (Flutter)

Im trying to set up my Authentification Screen and I’m coming across this Problem with the Sign in Screen. It has this extra Padding on top of it. I actually don’t know if it’s really a Padding or ...
David Grabovac's user avatar
0 votes
1 answer
56 views

Firebase Authentication Emulator in Flutter on Android: `Logging in as [email protected] with empty reCAPTCHA token`

I’m trying to use the Firebase Authentication Emulator with Flutter on Android, but I’m encountering an issue during signInWithEmailAndPassword. It logs the following message: FirebaseAuth: Logging ...
aanas.sayed's user avatar
1 vote
1 answer
19 views

Cannot get the FirebaseAuth user from my consumer despite the provider

Despite the fact I get the non-null user in the FirebaseAuth listeners, my provider fails to hand it over in the app, I always get null. My UserModel and related provider: /// The UserModel class ...
Stéphane de Luca's user avatar
1 vote
3 answers
122 views

Flutter FirebaseAuth on web never persists user login

I am using Firebase auth on my Flutter web app. During a debug session, I log a user in. This succeeds and Firebase returns a User object. After I close the debug session (I am debugging on chrome), ...
Scorb's user avatar
  • 1,930
0 votes
1 answer
35 views

firebase_auth/invalid-credential The supplied auth credential is malformed or has expired, Firebase sign in on Windows

I am using the package google_sign_in_all_platforms to sign into Firebase, after signing in with Google, and I am getting the error: [firebase_auth/invalid-credential] The supplied auth credential is ...
Theo's user avatar
  • 122
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
1 vote
0 answers
43 views

Firebase Microsoft SSO email not verified

I have set up Microsoft SSO for my Flutter app using the firebase_auth flutter package. Users can sign-in just fine but their accounts never have "Email Verified" set to true like it does ...
bygrace's user avatar
  • 5,988
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
0 votes
1 answer
35 views

Flutter & Next.js React Communication - Firebase ID Token Immediately “Invalid or Expired” in Next.js/Node Despite Being Fresh

I have a Flutter app that signs users in with Firebase Auth. Right after sign-in, I call: final user = FirebaseAuth.instance.currentUser; final idToken = await user?.getIdToken(); Then I send that ...
Petro's user avatar
  • 3,662
0 votes
0 answers
29 views

Flutter web app - Public form URL redirects to login screen despite public route configuration

I am new to Flutter and ran into an issue: I'm working on a Flutter web app that includes a public enrollment form feature. The form should be accessible to unauthenticated users via a URL, but it ...
Adnil's user avatar
  • 1
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
0 votes
1 answer
123 views

Firebase Authentication on Flutter Web with Phone Number

I'm using Firebase Authentication in my Flutter app with the following library versions: firebase_auth: 4.20.0 firebase_core: 2.17.0 The setup works perfectly on iOS and Android. However, on the web, ...
Muhammad Nadeem's user avatar
0 votes
0 answers
77 views

How to implement firebase mobile authentication for Flutter web for real phone numbers

I have implemented firebase phone authentication for flutter web and running the project in localhost but the issue I encountered is its working for test numbers but for real numbers its throwing ...
Sanjay kumar Das's user avatar
0 votes
0 answers
27 views

firebase_auth/app-verification-failed - The app verification process has failed

I have a flutter project that I'm running on my IOS simulator, and It's integrated to Firebase. When I try to use this function: await FirebaseAuth.instance.verifyPhoneNumber( phoneNumber: ...
khalid obaidi'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
0 votes
0 answers
62 views

App Fails to Run on iOS Simulator After Adding firebase_auth: Swift Compiler Errors in Xcode

Whenever I add the firebase_auth package to my Flutter project, my app doesn't run on the simulator. Does anyone have any ideas about this? Exceptions Failed to build iOS app Swift Compiler Error (...
Ali wadho's user avatar
2 votes
1 answer
70 views

error while trying to login with google using firebase

I get: Error signing in: [firebase_auth/invalid-credential] The supplied auth credential is incorrect, malformed or has expired. [ ID Token issued at 1733745109 is stale to sign-in. What is the ...
Satya's user avatar
  • 61
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
2 answers
210 views

How to use the same SHA-1 key for Firebase and Google Play Console?

I’m trying to ensure that the SHA-1 key used in Firebase matches the one used in the Google Play Console for app signing. After uploading my release keystore’s SHA-1 to Firebase and signing the app ...
samir sawarkar's user avatar
-2 votes
1 answer
48 views

Issue: Laravel admin sdk verifyIdToken

Could not verify the flutter's google signin's user's accessToken in laravel firebase admin sdk public static function verifyIdToken(string $idToken): array { $firebase = Firebase::...
Rakshith Rakshak's user avatar
0 votes
0 answers
27 views

Firebase core error occur during debugging

Execution failed for task ':app:checkDebugAarMetadata'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not find com.google.firebase:firebase-core:. ...
singh rocks's user avatar
0 votes
0 answers
55 views

How to Handle Firebase Password Reset Links in Flutter with app_links?

I am building a Flutter app that uses Firebase for authentication, and I need to implement a password reset functionality. I want to handle the Firebase-generated password reset links (deep links) ...
Catruna Robert's user avatar
0 votes
1 answer
49 views

Flutter: Offline Firestore Data Fails to Sync After Logging in a Different User

I'm building a Flutter app with offline support using Firestore. My Firestore rules allow only signed-in users to read and write data: service cloud.firestore { match /databases/{database}/documents ...
Haizad Annuar's user avatar
1 vote
1 answer
73 views

Persisting Firebase Auth state across Flutter app restarts on Chrome

I can sign in and I'm not calling the signOut() method of FirebaseAuth anywhere in my app. Despite this, I'm signed out every time I quit (e.g. with q) and re-run the app with flutter run. Is there ...
Filippo's user avatar
  • 150
0 votes
1 answer
73 views

FirebaseAuth getRedirectResult always returns null on Flutter web

Unfortunately, the redirection result is always null, which causes an infinite login loop (as my login is automatically on page load). Firebase config on index.html: const firebaseConfig = { apiKey: ...
Bharel's user avatar
  • 26.9k
0 votes
0 answers
45 views

Firebase authentication error - with App check

I am facing the error with firebase authentication when user enters wrong password it got stuck with below error message on Appcheck. E/RecaptchaCallWrapper(18987): Initial task failed for action ...
fazilSizzlers's user avatar
0 votes
1 answer
287 views

firebase_auth/channel-error "dev.flutter.pigeon.firebase_auth_platform_interface.FirebaseAuthHostApi.signInWithCredential"

Future LoginOTPVerify(BuildContext context) async { final otpCode = otpControler.LoginOTPController.text.trim(); if (otpCode.isEmpty) { SnackbarHelper() .showCustomSnackbar(context, "...
Zoheth George's user avatar
0 votes
1 answer
161 views

I get a error in Firebase functions Unauthenticated

I have a flutter app and now i need to accept payments in my app and i want to check if the payment is made by using firebase functions, but i constantly get the error unauthenticated. I have added ...
Android_devNL's user avatar

1
2 3 4 5
64