mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5ff9ae4a46
Summary: This is step 3 in creating a new DevSupportManager with a better async API for loading the JS bundle from Metro. Right now DevSupportManagerImpl calls a method on its ReactInstanceManagerDevHelper delegate when the JS bundle is done being downloaded from the server. However, I want to move to a callback-based method for bridgeless mode (similar to packager status). In this diff, I'm adding a protected method that uses a callback, and then calling that from `reloadJSFromServer` with a callback that calls the delegate, to preserve existing behavior. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D19871102 fbshipit-source-id: 2dbb6b91c5b927df86c3db42aa11e080d57ea78e
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.