mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
Config for android app.
This commit is contained in:
@@ -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"
|
||||
|
||||
Executable
+8
@@ -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
|
||||
Reference in New Issue
Block a user