Config for android app.

wownero
M 3 years ago
parent 328b378aac
commit 8fa1fe1b04

@ -38,13 +38,13 @@ android {
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.cakewallet.cake_wallet"
applicationId System.getenv('APP_ANDROID_ID')
minSdkVersion 21
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
manifestPlaceholders = [APP_NAME: System.getenv('APP_ANDROID_NAME')]
externalNativeBuild {
cmake {

@ -8,7 +8,7 @@
<application
android:name=".Application"
android:label="Cake Wallet"
android:label="${APP_NAME}"
android:allowBackup="false"
android:fullBackupContent="false"
android:icon="@mipmap/ic_launcher"

@ -0,0 +1,8 @@
#!/bin/bash
if [ -z "$APP_ANDROID_TYPE" ]; then
echo "Please set APP_ANDROID_TYPE"
exit 1
fi
sed -i '0,/version:/{s/version:.*/version: ${APP_ANDROID_VERSION}+${APP_ANDROID_BUILD_NUMBER}/}' ./../../pubspec.yaml
Loading…
Cancel
Save