mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-17 03:05:04 +08:00
Summary: Sometimes the main component name is not known at activity construction time and depends on e.g. reading shared preferences. To support this use case, make `(Fragment)ReactActivity#getMainComponentName()` nullable and return `null` by default. In this case, the app will not be loaded in `onCreate` by default and the user has to call `loadApp` manually once the component name is known. Reviewed By: andreicoman11 Differential Revision: D3722517 fbshipit-source-id: 062eed158798606e4160f1c142b23fd98ca618c8
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.