FormidableLabs / FormidableLabs/react-native-app-auth
"Data intent is null" if we exit the application and open it again using the icon
- Vorherrschende Sprache
- Java
- Sterne
- 2.3k
- Forks
- 473
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## Issue
We have some issue when user exit the application and open it again using the app icon.
The tab closes with an error : `Data intent is null`
To solve this, we need to update `android:launchMode` in `AndroidManifest.xml` from `singleTask` to `singleTop`.
But `react-native` with deeplinking indicate to use `singleTask` : https://reactnative.dev/docs/linking#enabling-deep-links
---
## Environment
Can be reproduce with the example project of the package.
Beitragsleitfaden
Rechercherichtung
Reproduziere das Problem im Beispielprojekt des Pakets, indem du die Anwendung über ihr Symbol beendest und erneut öffnest. Untersuche anschließend AndroidManifest.xml und die React Native-Anleitung für Deep Linking. Stelle sicher, dass der Neustart nicht mehr „Data intent is null“ erzeugt und das Deep-Link-Verhalten weiterhin funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, java, react-native
- Bereich
- authentication, mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 64/100