@@ -8,14 +8,14 @@ apply plugin: "com.facebook.react"
88 */
99react {
1010 /* 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")
1919
2020 /* Variants */
2121 // The list of variants to that are debuggable. For those we're going to
@@ -49,6 +49,9 @@ react {
4949 //
5050 // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
5151 // hermesFlags = ["-O", "-output-source-map"]
52+
53+ /* Autolinking */
54+ autolinkLibrariesWithApp()
5255}
5356
5457/**
@@ -107,13 +110,10 @@ android {
107110dependencies {
108111 // The version of react-native is set by the React Native Gradle Plugin
109112 implementation(" com.facebook.react:react-android" )
110- implementation(" com.facebook.react:flipper-integration" )
111113
112114 if (hermesEnabled. toBoolean()) {
113115 implementation(" com.facebook.react:hermes-android" )
114116 } else {
115117 implementation jscFlavor
116118 }
117119}
118-
119- apply from : file(" ../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle" ); applyNativeModulesAppBuildGradle(project)
0 commit comments