-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
blocked: firebase-sdkplatform: androidIssues / PRs which are specifically for Android.Issues / PRs which are specifically for Android.plugin: authtype: enhancementNew feature or requestNew feature or request
Description
Is there an existing issue for this?
- I have searched the existing issues.
Which plugins are affected?
Auth
Which platforms are affected?
Android
Description
When leaving the sign-in flow without completing it or dismissing it, the operation will never end or disappear, and unable to cancel.
Reproducing the issue
- Using the example: https://github.com/firebase/flutterfire/tree/main/packages/firebase_auth/firebase_auth/example
- Sign in with federated providers.
- When the web tab/page opens, return to the home screen directly without using the back button or any back gestures.
- Entering the recent tasks view
- If the auth is opening in a separate task, like in Chrome, enter Chrome, then press the back button.
- If the auth is opening as an in-app-webview, the task will disappear.
- Returning to the app, the auth call hangs, and no way to cancel the previous.
Firebase Core version
3.13.1
Flutter Version
3.32.0
Relevant Log Output
N/AFlutter dependencies
Details
dependencies:
- firebase_auth 5.5.4
- firebase_core 3.13.1
transitive dependencies:
- firebase_auth_platform_interface 7.6.3
- firebase_auth_web 5.14.3
- firebase_core_platform_interface 5.4.0
- firebase_core_web 2.23.0Additional context and comments
The screen record for the example:
ONEPLUS.A6010.2025-05-29.10-37-00.mp4
The screen record for our production app:
ONEPLUS.A6010.2025-05-29.10-33-42.mp4
Also, I was wondering why the example has a different behavior when opening the auth page: the example launches the Chrome web page, while our app launches an in-app-browser view.
Metadata
Metadata
Assignees
Labels
blocked: firebase-sdkplatform: androidIssues / PRs which are specifically for Android.Issues / PRs which are specifically for Android.plugin: authtype: enhancementNew feature or requestNew feature or request