FormidableLabs / FormidableLabs/react-native-app-auth

"Data intent is null" if we exit the application and open it again using the icon

Open
#1,094 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.