Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: restart activity to avoid crashes (#116)
## 馃摐 Description Don't persist activity state and always restart it. ## 馃挕 Motivation and Context I don't know why I didn't make it before, but it needs to be added in order to reduce amount of occasional crashes. You can read a great explanation [here](https://github.com/software-mansion/react-native-screens#android) on why it's needed. ## 馃摙 Changelog ### Android - added `super.onCreate(null)` in `MainActivity` for example apps; ## 馃 How Has This Been Tested? Tested manually on emulators. ## 馃摑 Checklist - [x] CI successfully passed
- Loading branch information