mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-02 17:47:01 +01:00
chore: possibility to install debug and release versions at the same time (#355)
This commit is contained in:
parent
75210e2948
commit
0d0b09af30
@ -32,7 +32,13 @@ android {
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
getByName("debug") {
|
||||
resValue("string", "app_name", "Kijetesantakalu for Lemmy")
|
||||
applicationIdSuffix = ".dev"
|
||||
extra["enableCrashlytics"] = false
|
||||
}
|
||||
getByName("release") {
|
||||
resValue("string", "app_name", "Raccoon for Lemmy")
|
||||
isMinifyEnabled = true
|
||||
setProguardFiles(
|
||||
listOf(
|
||||
|
4
androidApp/src/debug/res/values/colors.xml
Normal file
4
androidApp/src/debug/res/values/colors.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#FFF68300</color>
|
||||
</resources>
|
@ -5,7 +5,7 @@
|
||||
android:name=".MainApplication"
|
||||
android:allowBackup="false"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="Raccoon for Lemmy"
|
||||
android:label="@string/app_name"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.AppSplash">
|
||||
<activity
|
||||
|
@ -29,6 +29,9 @@ class MainApplication : Application(), ImageLoaderFactory {
|
||||
append(" (")
|
||||
append(BuildConfig.VERSION_CODE)
|
||||
append(")")
|
||||
if (BuildConfig.DEBUG) {
|
||||
append(" - dev")
|
||||
}
|
||||
}
|
||||
}.apply {
|
||||
val crashReportWriter: CrashReportWriter by inject()
|
||||
|
Loading…
x
Reference in New Issue
Block a user