FormidableLabs / FormidableLabs/react-native-app-auth
Android OS asking which app to open the redirect with
- Lingua principale
- Java
- Stelle
- 2.3k
- Fork
- 473
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo la build Android standalone con lo schema e il package di app.json, AppAuth.authAsync e Microsoft Entra ID. Esamina come viene registrato e gestito il redirect, confronta il comportamento con expo/expo#4287 e verifica che l'autenticazione torni all'app senza un selettore di app Android.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, react-native
- Ambito
- authentication, mobile
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100