FormidableLabs / FormidableLabs/react-native-app-auth
Android OS asking which app to open the redirect with
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 473
- PR merge metrics
- No merged PRs in 30d
Description
## Issue
Similar to https://github.com/expo/expo/issues/4287,
> Steps to Reproduce
>
> - Let app.json have "scheme": "com.example.mobile", "android": { "package": "com.example.mobile" }.
> - Add a login button that calls AppAuth.authAsync against the issuer.
> - Build a standalone version of the app using expo build:android.
> - Run the app and touch the login button.
> - Complete the authentication on details.
> - Android will ask what app to use to open the redirect, but present two equal options.
>
> Expected Behavior
>
> Android shouldn't ask for which app to open the redirect with and the flow should continue as usual.
Issue is still happening in 2026, with latest versions:
- react-native `0.81.5`
- expo `54.0.27`
- react-native-app-auth `8.1.0`
Issue occurs in Android, with Microsoft EntraId authentication.
I don't think the "remove the scheme" fix is definitive, so this shouldn't be marked as closed IMO
Contributor guide
Assessment
This issue has not been assessed yet.