fixes #18291 Changes worth mentioning are : - More hacks/patches - Force app to use `Java 17` everywhere to compile `kotlin,java` - `gems` were upgraded after a long time - `aapt2` was bumped to `8.1.1` - `metro` is now at `0.80.4` - `xcbeautify` was bumped to `1.4.0` - `@react-native-community/clipboard` lib was replaced with `@react-native-clipboard/clipboard` - `react-native-dialogs` lib was upgraded to `1.1.2` - `react-native-gesture-handler` lib was upgraded to `2.14.1` - `react-native-navigation` was upgraded to `7.37.2` - Android - iOS every other iOS build locally with `make run-ios` would fail with this error message : ``` [React-RCTFabric] Compiling RCTThirdPartyFabricComponentsProvider.mm ❌ error: Build input file cannot be found: '/Users/siddarthkumar/code/experiments/status-mobile/ node_modules/react-native/React/Fabric/RCTThirdPartyFabricComponentsProvider.mm'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'React-RCTFabric' from project 'Pods') [React-RCTFabric] Compiling RCTTextInputComponentView.mm ⚠️ Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'StatusIm' from project 'StatusIm') ``` This gets fixed with : - `make xcode-clean` - `make clean` However it is frustrating how often this happens now after upgrading to react-native 0.73 🥲
63 lines
2.3 KiB
Properties
63 lines
2.3 KiB
Properties
# Project-wide Gradle settings.
|
|
|
|
# IDE (e.g. Android Studio) users:
|
|
# Gradle settings configured through the IDE *will override*
|
|
# any settings specified in this file.
|
|
|
|
# For more details on how to configure your build environment visit
|
|
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
|
|
# Specifies the JVM arguments used for the daemon process.
|
|
# The setting is particularly useful for tweaking memory settings.
|
|
# Default value: -Xmx10248m -XX:MaxPermSize=256m
|
|
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
|
|
|
# When configured, Gradle will run in incubating parallel mode.
|
|
# This option should only be used with decoupled projects. More details, visit
|
|
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
# org.gradle.parallel=true
|
|
|
|
# To create a new keystore for development purposes (https://developer.android.com/studio/publish/app-signing.html)
|
|
# $keytool -genkey -v -keystore ./status-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias status
|
|
|
|
# Version requirements used throughout the Gradle scripts
|
|
minSdkVersion=24
|
|
compileSdkVersion=34
|
|
targetSdkVersion=34
|
|
buildToolsVersion=34.0.0
|
|
supportLibVersion=28.0.0
|
|
# This should match version from nix/pkgs/aapt2/default.nix
|
|
gradlePluginVersion=7.4.2
|
|
kotlinPluginVersion=1.9.0
|
|
|
|
android.useAndroidX=true
|
|
android.enableJetifier=true
|
|
|
|
KEYSTORE_PATH=~/.gradle/status-im.keystore
|
|
KEYSTORE_PASSWORD=password
|
|
KEYSTORE_ALIAS=status
|
|
KEYSTORE_KEY_PASSWORD=password
|
|
|
|
# By default we build a mostly universal APK
|
|
ANDROID_ABI_SPLIT=false
|
|
# Some platforms are excluded though
|
|
ANDROID_ABI_INCLUDE=armeabi-v7a;arm64-v8a;x86;x86_64
|
|
|
|
org.gradle.jvmargs=-Xmx8704M
|
|
|
|
versionCode=9999
|
|
commitHash=unknown
|
|
|
|
# Use this property to enable support to the new architecture.
|
|
# This will allow you to use TurboModules and the Fabric render in
|
|
# your application. You should enable this flag either if you want
|
|
# to write custom TurboModules/Fabric components OR use libraries that
|
|
# are providing them.
|
|
newArchEnabled=false
|
|
|
|
# Use this property to enable or disable the Hermes JS engine.
|
|
# If set to false, you will be using JSC instead.
|
|
# Disabled for debug builds to avoid 'maximum call stack exceeded' errors.
|
|
# https://github.com/status-im/status-mobile/issues/18493
|
|
hermesEnabled=false
|