different app ID & title in debug mode

This commit is contained in:
Thibault Deckers 2020-05-12 18:18:47 +09:00
parent 7d522e637d
commit b0a76b9584
4 changed files with 13 additions and 2 deletions

View file

@ -41,6 +41,9 @@ android {
}
buildTypes {
debug {
applicationIdSuffix ".debug"
}
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Aves [Debug]</string>
</resources>

View file

@ -39,7 +39,7 @@
<application
android:name="io.flutter.app.FlutterApplication"
android:icon="@mipmap/ic_launcher"
android:label="Aves"
android:label="@string/app_name"
android:requestLegacyExternalStorage="true">
<activity
android:name=".MainActivity"
@ -67,7 +67,7 @@
<!-- file provider to share files having a file:// URI -->
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="deckers.thibault.aves.fileprovider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Aves</string>
</resources>