@@ -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/**
@@ -111,7 +114,6 @@ android {
111114dependencies {
112115 // The version of react-native is set by the React Native Gradle Plugin
113116 implementation(" com.facebook.react:react-android" )
114- implementation(" com.facebook.react:flipper-integration" )
115117
116118 if (hermesEnabled. toBoolean()) {
117119 implementation(" com.facebook.react:hermes-android" )
@@ -121,4 +123,3 @@ dependencies {
121123}
122124
123125apply from : file(" ../../node_modules/react-native-vector-icons/fonts.gradle" )
124- apply from : file(" ../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle" ); applyNativeModulesAppBuildGradle(project)
0 commit comments