mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: I'm not sure if we'll ever need to do more than this (probably!) but I want to have a specific option for Activity-less usage, so that our logic in ReactInstanceManager and elsewhere is more clear. I want to be able to confidently assert that the Activity is present and correct, or never present, depending on if this `requireActivity` flag is set; instead of adding else statements that imply "well, the Activity should be here, hope everything is okay" which feels hacky. Doesn't change much for now, but it's an additional constraint in the RN Android codebase that we need to explicitly embed in code so that we can point to it, and so that the logic is more clear. Changelog: [Internal] Reviewed By: javache, motiz88 Differential Revision: D30504616 fbshipit-source-id: d2abdb7c4765a16113c9517406cdbb8cf42822ff
Building React Native for Android
See the docs on the wiki.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.