-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter auth ui 2.4.2 causing app to crush on Android 12 #91
Comments
Hi @BTonny, Sorry, I can't reproduce the crash. Also, flutter_auth_ui is in a situation where it can't be updated until Flutter resolves the AGP 7 unavailability issue. If this cannot be resolved soon, please consider using flutterfire_ui. |
Thank you for your quick response. Unfortunately, the problem only comes up in the release build and i can't easily get the Android stack trace from the release on the particular device, since i don't have direct access. About using flutterfire_ui, i tried it and don't like their flow and UI yet. its still lacking a lot. So i decided to stick to this more stable package and much better in my opinion. Could it be possible to release a minor update using the current gradle, but only adding the support for android 12? The fix for applications is usually adding Could that also help add the support here? |
I Understood.
And firebaseui-android's activities are already set 'exported` param. https://github.com/firebase/FirebaseUI-Android/blob/7.2.0/auth/src/main/AndroidManifest.xml#L100 https://pub.dev/packages/flutter_auth_ui/versions/3.0.0-dev.0 A version that supports AGP 7.0 has been uploaded to pub.dev. This one uses firebaseui-android 8.0.0. |
Hello @koji-1009
Thank you. |
Thanks. Perhaps there is a problem of firebase/FirebaseUI-Android#1999 . |
Indeed looking through i'm also thinking it might be a problem with them. PS: in my app, i'm only using Phone Auth Provider at the moment. |
If the use of https://pub.dev/packages/flutter_auth_ui/versions/3.0.0-dev.0 and updating firebase_auth does not solve the problem, I recommend setting the target sdk to 30. The PendingIntent behavior is the one that takes effect when the target sdk is changed to 31. |
Sorry for the late response. So i was able to use the work around of using |
Package works well on all other android versions.
But upon installing the release version of the app depending on it on android 12, it crashes when Auth ui is launched.
Below is my
flutter doctor
outputThe text was updated successfully, but these errors were encountered: