mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Summary: Replaces #24099 (original PR became detached for some reason) Implements the template changes required to enable native modules auto-linking for both Android & iOS. Requires the following to be merged first and an updated CLI to be published: - [x] https://github.com/react-native-community/react-native-cli/pull/254 - [x] https://github.com/react-native-community/react-native-cli/pull/256 - [x] https://github.com/react-native-community/react-native-cli/pull/258 cc grabbou thymikee orta for review - [ ] https://github.com/facebook/react-native/pull/24517 update CLI version) [TEMPLATE] [FEATURE] - Enable auto-initialization/linking of react native modules for new projects Pull Request resolved: https://github.com/facebook/react-native/pull/24506 Differential Revision: D15062701 Pulled By: cpojer fbshipit-source-id: 65296cbec2925405fe8033de71910325e0c719bc
4 lines
194 B
Groovy
4 lines
194 B
Groovy
rootProject.name = 'HelloWorld'
|
|
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
|
|
include ':app'
|