Closed stratus1011 closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
The issue has been closed for inactivity.
🐛 Bug Report
We are seeing crashes in 7.26.0 and 7.25.1 on Android 11/12 devices frequently whenever we have modals or bottomsheets showing. It could be happening in earlier versions, but these are the ones we've tracked. Almost all instances of the crash seem to happen at some point when the Activity is going in to the background on
onPause
or a similar lifecycle event. The stacktrace is the same regardless of the specific background "event". I think it may have to do with code changes for Android API 30 done in this change: https://github.com/wix/react-native-navigation/commit/eae58312ce997ed580163e2f1d5cb6c3ea1ec086Stacktrace for 7.26.0:
In 7.25.1 we were getting a similar error, but it had a little bit more to the stacktrace:
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
I've done my best to reproduce it on a Pixel 6, but have been unsuccessful.
Expected behavior
Crashes should not happen on modals and bottom sheets.
Actual Behavior
We are seeing crashes in 7.26.0 and 7.25.1 on Android 11/12 devices frequently whenever we have modals or bottomsheets showing.
Your Environment
Reproducible Demo
(Paste the link to an example repo and exact instructions to reproduce the issue.)
Are you willing to resolve this issue by submitting a Pull Request?