firebase / firebase/firebase-android-sdk
Allow developers to specify which application web flows should use for better User experience
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 710
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 31
Description
## What feature would you like to see?
With _Firebase Auth Verison 20.0.1_, this change has been brought.
> Fixed a bug that required the inclusion of a browser dependency in the client application. Instead, when Chrome Custom Tabs are not available for web-based flows (such as Generic IDP or reCAPTCHA in Phone Auth), it will fall back to whatever application is the default for the Intent#ACTION_VIEW intent.
source here: [Firebase Auth 20.0.1 Release notes](https://firebase.google.com/support/release-notes/android#auth_v20-0-1)
It was mentioned that web-based will fallback to Intent#ACTION_VIEW. This would open a disambiguation dialog and sometimes users weren't aware that this is a part of Authentication flow and dismissing the dialog, and this is resulting in failed authentication. And, we know for sure that some OEMs will have an application that can handle ACTION_VIEW. It would be good if we can explicitly specify the SDK to use that particular application.
## How would you use it?
I would like to specify an intent to a particular application capable of handling Intent#ACTION_VIEW based on some checks and expect web-based flows to proceed with the application I specified in intent.
Contributor guide
Assessment
This issue has not been assessed yet.