mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43613 Storing a global_ref to `jThis` in a JNI hybrid object leads to a reference cycle which cannot be cleaned up by Java GC. The Java object will keep the C++ object alive and vice versa. We can replace the reference in this class by using the this pointer passed in when `installJSIBindings` is invoked. Changelog: [Internal] Reviewed By: rshest Differential Revision: D55241235 fbshipit-source-id: 64883752a87f363a52a9f6661d6ddaa24a56fe62
Building React Native for Android
See the Building from Source guide on the React Native website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing guide on the React Native website.