Skip to content

Commit

Permalink
Configure APK build keys
Browse files Browse the repository at this point in the history
  • Loading branch information
dhakalaashish committed Mar 1, 2024
1 parent 4bbe61e commit 91fce50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/nativeapp/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -114,7 +114,7 @@ android {
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 4
versionName "1.2"
manifestPlaceholders = [auth0Domain: "@string/AUTH0_DOMAIN", auth0Scheme: "${applicationId}.auth0"]
manifestPlaceholders = [auth0Domain: "accounts.plant-for-the-planet.org", auth0Scheme: "${applicationId}.auth0"]
}

splits {
Expand Down Expand Up @@ -154,7 +154,7 @@ android {
}
}
flavorDimensions "env"

productFlavors {
staging {
dimension "env"
Expand Down
5 changes: 5 additions & 0 deletions apps/nativeapp/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 91fce50

Please sign in to comment.