diff --git a/apps/nativeapp/android/app/build.gradle b/apps/nativeapp/android/app/build.gradle index 874ef12a1..591a3dcfb 100644 --- a/apps/nativeapp/android/app/build.gradle +++ b/apps/nativeapp/android/app/build.gradle @@ -2,7 +2,7 @@ apply plugin: "com.android.application" apply plugin: "com.facebook.react" project.ext.envConfigFiles = [ staging : ".env.staging", - release: ".env.production", + release: ".env", develop : ".env", ] apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle" @@ -114,7 +114,7 @@ android { targetSdkVersion rootProject.ext.targetSdkVersion versionCode 4 versionName "1.2" - manifestPlaceholders = [auth0Domain: "@string/AUTH0_DOMAIN", auth0Scheme: "${applicationId}"] + manifestPlaceholders = [auth0Domain: "accounts.plant-for-the-planet.org", auth0Scheme: "${applicationId}.auth0"] } splits { @@ -154,7 +154,7 @@ android { } } flavorDimensions "env" - + productFlavors { staging { dimension "env" diff --git a/apps/nativeapp/android/gradle.properties b/apps/nativeapp/android/gradle.properties index e4af465e8..0ab34c21d 100644 --- a/apps/nativeapp/android/gradle.properties +++ b/apps/nativeapp/android/gradle.properties @@ -39,6 +39,11 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 # are providing them. newArchEnabled=false +MYAPP_RELEASE_STORE_FILE=my-release-key.keystore +MYAPP_RELEASE_KEY_ALIAS=my-key-alias +MYAPP_RELEASE_STORE_PASSWORD=fire-alert +MYAPP_RELEASE_KEY_PASSWORD=fire-alert + # Use this property to enable or disable the Hermes JS engine. # If set to false, you will be using JSC instead. hermesEnabled=true diff --git a/apps/nativeapp/ios/Podfile b/apps/nativeapp/ios/Podfile index d9e88aa5e..02eb9904e 100644 --- a/apps/nativeapp/ios/Podfile +++ b/apps/nativeapp/ios/Podfile @@ -4,7 +4,7 @@ require_relative '../../../node_modules/react-native/scripts/react_native_pods' require_relative '../../../node_modules/@react-native-community/cli-platform-ios/native_modules' $RNMapboxMapsImpl = 'mapbox' -platform :ios, min_ios_version_supported +platform :ios, '13.0' prepare_react_native_project! # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.