FormidableLabs / FormidableLabs/react-native-app-auth
Android OS asking which app to open the redirect with
- Lenguaje dominante
- Java
- Estrellas
- 2.3k
- Forks
- 473
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## 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
Guía de contribución
Línea de trabajo
Empieza reproduciendo la compilación independiente de Android con el esquema y el paquete de app.json, AppAuth.authAsync y Microsoft Entra ID. Inspecciona cómo se registra y se gestiona el redirect, compara el comportamiento con expo/expo#4287 y verifica que la autenticación vuelva a la aplicación sin mostrar un selector de aplicaciones de Android.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, react-native
- Área
- authentication, mobile
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100