FormidableLabs / FormidableLabs/react-native-app-auth
Application restarts instead of returning from authenticate()
- Lingua principale
- Java
- Stelle
- 2.3k
- Fork
- 473
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I can't make authenticate() work consistently in my application. After a fresh start, it calls authenticate(), the browser tab appears, user logs in, and returns to the application. But it's like a fresh start of the application again, it doesn't continue after the call to authenticate() as expected. Thus it goes to the browser login screen again.
Not sure if it's related but if I launch React Native DevTools, it disconnects a few seconds after the browser tab is shown.
I ran also the examples/demo app, and I've seen it behaving like this, although sometimes it works as expected (it doesn't disconnect if devtools open, and continues after the call to authenticate() upon returning from the browser tab.
Has anyone found this behaviour, even with the demo example?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il comportamento nell’applicazione examples/demo: chiama authenticate(), completa l’accesso nel browser e osserva se l’applicazione si riavvia invece di tornare dalla chiamata. Confronta le esecuzioni con React Native DevTools aperte e chiuse, verificando anche se DevTools si disconnette dopo la comparsa della scheda del browser. Il lavoro è completato quando l’autenticazione torna al flusso applicativo esistente senza mostrare nuovamente la schermata di accesso del browser.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react-native
- Ambito
- authentication, mobile
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100