3
0
Fork 0

Let Android install debug & release APKs side-by-side (#31)

This commit is contained in:
John Maguire 2021-04-29 16:13:13 -04:00 committed by GitHub
parent a7c32f5bd4
commit 3123ce5f9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 1 deletions

1
.gitignore vendored
View File

@ -48,3 +48,4 @@ lib/generated_plugin_registrant.dart
/ios/Flutter/.last_build_id /ios/Flutter/.last_build_id
/local.properties /local.properties
/.gradle/ /.gradle/
*.keystore

View File

@ -70,6 +70,12 @@ android {
minifyEnabled false minifyEnabled false
useProguard false useProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue 'string', 'app_name', '"Nebula"'
}
debug {
resValue 'string', 'app_name', '"Nebula-DEBUG"'
applicationIdSuffix '.debug'
} }
} }
} }

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#f2c10d</color>
</resources>

View File

@ -10,7 +10,7 @@
<uses-feature android:name="android.hardware.camera" android:required="false" /> <uses-feature android:name="android.hardware.camera" android:required="false" />
<application <application
android:name="io.flutter.app.FlutterApplication" android:name="io.flutter.app.FlutterApplication"
android:label="Nebula" android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"> android:icon="@mipmap/ic_launcher">
<service android:name=".NebulaVpnService" <service android:name=".NebulaVpnService"
android:permission="android.permission.BIND_VPN_SERVICE" android:permission="android.permission.BIND_VPN_SERVICE"