mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d50a425e92
Summary: When working with RN installed from npm and a regular project structure `$rootDir` won't be at the react-native package root. Instead we can use `$projectRoot` which will always be the ReactAndroid folder. ## Changelog [Android] [Internal] - Use $projectDir instead of $rootDir for ReactAndroid codegen Pull Request resolved: https://github.com/facebook/react-native/pull/30220 Test Plan: Test building an app with RN as a regular dep with codegen enabled Reviewed By: hramos Differential Revision: D24560634 Pulled By: fkgozali fbshipit-source-id: 434d32f37e6f9d48a8c562655ceff7249bd056ce
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.