mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
Config for android app.
This commit is contained in:
parent
328b378aac
commit
8fa1fe1b04
3 changed files with 11 additions and 3 deletions
|
@ -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"
|
||||
|
|
8
scripts/android/app_config.sh
Executable file
8
scripts/android/app_config.sh
Executable file
|
@ -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…
Reference in a new issue