mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
94cb4bf90c
Summary: In D18032458 we introduce getReactApplicationContextIfActiveOrWarn. In this diff, modules that access a JS or Native module through ReactApplicationContext need to check if the CatalystInstance is still alive before continuing. Modules that don't derive from `ReactContextBaseJavaModule` manually check for the catalyst impl and log their own SoftExceptions. In this diff we also introduce SoftExceptions that by contract never cause crashes, even in debug mode. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D18112989 fbshipit-source-id: 868f01f388aa2db3518db9f873f2afc2a62eed45
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.