Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(android): undeterministic crashes after opening other apps #92

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

ignyx
Copy link
Contributor

@ignyx ignyx commented Sep 1, 2024

See software-mansion/react-native-screens#17

Only affects Android devices.

This prevents the app from retrieving state from Android State Shards after the Activity has been discarded, for example when the user has opened other apps and the OS has effectively closed the app. The consequence of this is that this state is not restored (ie the app starts normally), which is better than the app crashing.

Fixes #20

@ignyx ignyx merged commit 65f50e8 into master Sep 3, 2024
2 checks passed
@ignyx ignyx deleted the fix-20-workaround branch October 14, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash lors de l'ouverture de l'appli sur planex
1 participant