

It is recommended to override the native Android method called on Activity restarts in your main Activity, to avoid these crashes.įor most people using an app built from the react-native template, that means editing MainActivity.java, likely located in android/app/src/main/java//MainActivity.java On Android the View state is not persisted consistently across Activity restarts, which can lead to crashes in those cases. Installation on iOS is completely handled with auto-linking, if you have ensured pods are installed after adding this module, no other actions are necessary. Instructions on how to run Fabric Example within this repo can be found in the FabricExample README. To learn about how to use react-native-screens with Fabric architecture, head over to Fabric README.

It is not designed to be used as a standalone library but rather as a dependency of a full-featured navigation library. This project aims to expose native navigation container components to React Native.
