@@ -38,53 +38,9 @@ sentry {
3838 }
3939}
4040
41- /**
42- * This is the configuration block to customize your React Native Android app.
43- * By default you don't need to apply any configuration, just uncomment the lines you need.
44- */
4541react {
46- /* Folders */
47- // The root of your project, i.e. where "package.json" lives. Default is '..'
48- // root = file("../")
49- // The folder where the react-native NPM package is. Default is ../node_modules/react-native
50- // reactNativeDir = file("../node_modules/react-native")
51- // The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen
52- // codegenDir = file("../node_modules/@react-native/codegen")
53- // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
54- // cliFile = file("../node_modules/react-native/cli.js")
55-
56- /* Variants */
57- // The list of variants to that are debuggable. For those we're going to
58- // skip the bundling of the JS bundle and the assets. By default is just 'debug'.
59- // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
60- // debuggableVariants = ["liteDebug", "prodDebug"]
61-
62- /* Bundling */
63- // A list containing the node command and its flags. Default is just 'node'.
64- // nodeExecutableAndArgs = ["node"]
65- //
66- // The command to run when bundling. By default is 'bundle'
67- // bundleCommand = "ram-bundle"
68- //
69- // The path to the CLI configuration file. Default is empty.
70- // bundleConfig = file(../rn-cli.config.js)
71- //
72- // The name of the generated asset file containing your JS bundle
73- // bundleAssetName = "MyApplication.android.bundle"
74- //
75- // The entry file for bundle generation. Default is 'index.android.js' or 'index.js'
76- // entryFile = file("../js/MyApplication.android.js")
77- //
78- // A list of extra flags to pass to the 'bundle' commands.
79- // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle
80- // extraPackagerArgs = []
81-
82- /* Hermes Commands */
83- // The hermes compiler command to run. By default it is 'hermesc'
84- // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
85- //
86- // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
87- // hermesFlags = ["-O", "-output-source-map"]
42+ /* Autolinking */
43+ autolinkLibrariesWithApp()
8844}
8945
9046/**
@@ -96,14 +52,14 @@ def enableProguardInReleaseBuilds = false
9652 * The preferred build flavor of JavaScriptCore (JSC)
9753 *
9854 * For example, to use the international variant, you can use:
99- * `def jscFlavor = 'org.webkit:android- jsc-intl:+' `
55+ * `def jscFlavor = io.github.react-native-community: jsc-android- intl:2026004.+ `
10056 *
10157 * The international variant includes ICU i18n library and necessary data
10258 * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
10359 * give correct results when using with locales other than en-US. Note that
10460 * this variant is about 6MiB larger per architecture than default.
10561 */
106- def jscFlavor = ' org.webkit:android- jsc: +'
62+ def jscFlavor = ' io.github.react-native-community: jsc-android:2026004. +'
10763
10864apply from : file(" ../../node_modules/react-native-vector-icons/fonts.gradle" )
10965apply from : " ../../node_modules/@sentry/react-native/sentry.gradle"
@@ -157,5 +113,3 @@ dependencies {
157113 implementation jscFlavor
158114 }
159115}
160-
161- apply from : file(" ../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle" ); applyNativeModulesAppBuildGradle(project)
0 commit comments