11apply plugin : " com.android.application"
22apply plugin : " com.facebook.react"
3- apply plugin : " kotlin-android"
43apply plugin : " com.google.gms.google-services"
54apply plugin : " com.google.firebase.crashlytics"
5+ apply plugin : " kotlin-android"
66apply plugin : " kotlin-kapt"
7+ apply plugin : ' org.jetbrains.kotlin.plugin.compose'
78apply plugin : " androidx.navigation.safeargs.kotlin"
89
9- /**
10- * This is the configuration block to customize your React Native Android app.
11- * By default you don't need to apply any configuration, just uncomment the lines you need.
12- */
1310react {
14- /* Folders */
15- // The root of your project, i.e. where "package.json" lives. Default is '../..'
16- // root = file("../../")
17- // The folder where the react-native NPM package is. Default is ../../node_modules/react-native
18- // reactNativeDir = file("../../node_modules/react-native")
19- // The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
20- // codegenDir = file("../../node_modules/@react-native/codegen")
21- // The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
22- // cliFile = file("../../node_modules/react-native/cli.js")
2311 /* Variants */
2412 // The list of variants to that are debuggable. For those we're going to
2513 // skip the bundling of the JS bundle and the assets. By default is just 'debug'.
2614 // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
2715 debuggableVariants = [" productionDebug" , " productionRelease" ]
28- /* Bundling */
29- // A list containing the node command and its flags. Default is just 'node'.
30- // nodeExecutableAndArgs = ["node"]
31- //
32- // The command to run when bundling. By default is 'bundle'
33- // bundleCommand = "ram-bundle"
34- //
35- // The path to the CLI configuration file. Default is empty.
36- // bundleConfig = file(../rn-cli.config.js)
37- //
38- // The name of the generated asset file containing your JS bundle
39- // bundleAssetName = "MyApplication.android.bundle"
40- //
41- // The entry file for bundle generation. Default is 'index.android.js' or 'index.js'
42- // entryFile = file("../js/MyApplication.android.js")
43- //
44- // A list of extra flags to pass to the 'bundle' commands.
45- // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle
46- // extraPackagerArgs = []
47- /* Hermes Commands */
48- // The hermes compiler command to run. By default it is 'hermesc'
49- // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
50- //
51- // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
52- // hermesFlags = ["-O", "-output-source-map"]
53- //
16+
5417 /* Autolinking */
5518 autolinkLibrariesWithApp()
5619}
@@ -60,27 +23,6 @@ react {
6023 */
6124def enableProguardInReleaseBuilds = false
6225
63- /**
64- * The preferred build flavor of JavaScriptCore (JSC)
65- *
66- * For example, to use the international variant, you can use:
67- * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
68- *
69- * The international variant includes ICU i18n library and necessary data
70- * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
71- * give correct results when using with locales other than en-US. Note that
72- * this variant is about 6MiB larger per architecture than default.
73- */
74- def jscFlavor = " org.webkit:android-jsc:+"
75-
76- /**
77- * Whether to load react from source or use the prepacked package
78- *
79- * Keep false for faster compilation and avoid the need for an NDK to be installed.
80- * Use true if you want to debug and modify RN source, say for patching.
81- */
82- def reactNativeFromSource = BUILD_RN_FROM_SOURCE . toBoolean()
83-
8426android {
8527 ndkVersion rootProject. ndkVersion
8628 buildToolsVersion rootProject. ext. buildToolsVersion
@@ -91,8 +33,8 @@ android {
9133 applicationId " com.mendix.developerapp.mx10"
9234 minSdkVersion rootProject. minSdkVersion
9335 targetSdkVersion rootProject. targetSdkVersion
94- versionCode 404
95- versionName " 4.1 .0"
36+ versionCode 500
37+ versionName " 5.0 .0"
9638 missingDimensionStrategy " react-native-camera" , " general"
9739 testBuildType System . getProperty(" testBuildType" , " debug" )
9840 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
@@ -117,7 +59,7 @@ android {
11759 }
11860 release {
11961 Properties releaseProps = new Properties ()
120- def propFile = new File (' ./local .properties' )
62+ def propFile = new File (' ./keystores/debug.keystore .properties' )
12163 if (propFile. canRead()) {
12264 releaseProps. load(new FileInputStream (propFile))
12365
@@ -169,13 +111,7 @@ android {
169111
170112dependencies {
171113 // React Native Core
172- if (reactNativeFromSource) {
173- implementation project(" :ReactAndroid" )
174- } else {
175- implementation " com.facebook.react:react-android"
176- }
177-
178- // Javascript engine
114+ implementation " com.facebook.react:react-android:0.77.0"
179115 implementation(" com.facebook.react:hermes-android" )
180116
181117 // Mendix dependencies
0 commit comments