Specify in the app name when using a develop build.
This commit is contained in:
parent
b34810d631
commit
080c07eeab
|
@ -62,8 +62,11 @@ android {
|
|||
|
||||
buildTypes {
|
||||
getByName("debug") {
|
||||
applicationIdSuffix = ".dev"
|
||||
isDebuggable = true
|
||||
applicationIdSuffix = ".dev"
|
||||
manifestPlaceholders = mapOf(
|
||||
"app_name" to "Otter (develop)"
|
||||
)
|
||||
|
||||
resValue("string", "debug.hostname", props.getProperty("debug.hostname", ""))
|
||||
resValue("string", "debug.username", props.getProperty("debug.username", ""))
|
||||
|
@ -71,6 +74,10 @@ android {
|
|||
}
|
||||
|
||||
getByName("release") {
|
||||
manifestPlaceholders = mapOf(
|
||||
"app_name" to "Otter"
|
||||
)
|
||||
|
||||
if (props.hasProperty("signing.store")) {
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
android:name="com.github.apognu.otter.Otter"
|
||||
android:allowBackup="false"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:label="${app_name}"
|
||||
android:networkSecurityConfig="@xml/security"
|
||||
android:roundIcon="@mipmap/ic_launcher"
|
||||
android:supportsRtl="true"
|
||||
|
@ -22,12 +22,14 @@
|
|||
android:name="com.github.apognu.otter.activities.SplashActivity"
|
||||
android:launchMode="singleInstance"
|
||||
android:noHistory="true">
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
|
|
Loading…
Reference in New Issue