Login issues started to happen with android

Troubleshooting

Hello. First of all, I would like to mention that I am new to Flutterflow. For about 2 days, I’ve been experiencing an error with Firebase Authentication. Apple devices can log in to my app without any issues, but some android devices can not. Login button takes them back to the login page with out any message. Almost like the page blinks.

I'm not sure if it's directly related to the android version, but in my tests, I couldn't log in with the same account on a device running Android 11, while there were no issues on a device running Android 14. My friend who has an other android 14 device also can not login using the latest version of the app.

When I checked the console, I noticed the following error:

---------------------

D/TrafficStats(14969): tagSocket(203) with statsTag=0xffffffff, statsUid=-1

I/TRuntime.CctTransportBackend(14969): Status Code: 200

I/FA      (14969): Application backgrounded at: timestamp_millis: 1726973208135

D/VRI[SignInHubActivity](14969): visibilityChanged oldVisibility=true newVisibility=false

W/WindowOnBackDispatcher(14969): sendCancelIfRunning: isInProgress=falsecallback=android.view.ViewRootImpl$$ExternalSyntheticLambda11@797329d

E/flutter (14969): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(exception, ERROR, null, null)

E/flutter (14969): #0      GoogleSignInApi.getAccessToken (package:google_sign_in_android/src/messages.g.dart:250:7)

E/flutter (14969): <asynchronous suspension>

E/flutter (14969): #1      GoogleSignInAndroid.getTokens.<anonymous closure> (package:google_sign_in_android/google_sign_in_android.dart:68:15)

E/flutter (14969): <asynchronous suspension>

E/flutter (14969): #2      GoogleSignInAccount.authentication (package:google_sign_in/google_sign_in.dart:95:9)

E/flutter (14969): <asynchronous suspension>

E/flutter (14969): #3      googleSignInFunc (package:buzzlyapp/auth/firebase_auth/google_auth.dart:14:16)

E/flutter (14969): <asynchronous suspension>

E/flutter (14969): #4      FirebaseAuthManager._signInOrCreateAccount (package:buzzlyapp/auth/firebase_auth/firebase_auth_manager.dart:299:30)

E/flutter (14969): <asynchronous suspension>

E/flutter (14969): #5      LoginWidgetState.build.<anonymous closure> (package:buzzlyapp/pages/login/loginwidget.dart:216:31)

-------------------------

I would appreciate your help.

What have you tried so far?

Tried to add debug messages before and after auth action. the debug messages after auth action wont appear while the ones before shows without any problem

Did you check FlutterFlow's Documentation for this topic?
Yes
1
5 replies