@@ -8,14 +8,14 @@ apply plugin: "com.facebook.react"
8
8
*/
9
9
react {
10
10
/* Folders */
11
- // The root of your project, i.e. where "package.json" lives. Default is '..'
12
- // root = file("../")
13
- // The folder where the react-native NPM package is. Default is ../node_modules/react-native
14
- // reactNativeDir = file("../node_modules/react-native")
15
- // The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen
16
- // codegenDir = file("../node_modules/@react-native/codegen")
17
- // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
18
- // cliFile = file("../node_modules/react-native/cli.js")
11
+ // The root of your project, i.e. where "package.json" lives. Default is '../.. '
12
+ // root = file("../../ ")
13
+ // The folder where the react-native NPM package is. Default is ../../ node_modules/react-native
14
+ // reactNativeDir = file("../../ node_modules/react-native")
15
+ // The folder where the react-native Codegen package is. Default is ../../ node_modules/@react-native/codegen
16
+ // codegenDir = file("../../ node_modules/@react-native/codegen")
17
+ // The cli.js file which is the React Native CLI entrypoint. Default is ../../ node_modules/react-native/cli.js
18
+ // cliFile = file("../../ node_modules/react-native/cli.js")
19
19
20
20
/* Variants */
21
21
// The list of variants to that are debuggable. For those we're going to
@@ -49,6 +49,9 @@ react {
49
49
//
50
50
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
51
51
// hermesFlags = ["-O", "-output-source-map"]
52
+
53
+ /* Autolinking */
54
+ autolinkLibrariesWithApp()
52
55
}
53
56
54
57
/**
@@ -115,5 +118,3 @@ dependencies {
115
118
implementation jscFlavor
116
119
}
117
120
}
118
-
119
- apply from : file(" ../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle" ); applyNativeModulesAppBuildGradle(project)
0 commit comments