mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-09 07:18:39 +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 {
|
buildTypes {
|
||||||
|
getByName("debug") {
|
||||||
|
resValue("string", "app_name", "Kijetesantakalu for Lemmy")
|
||||||
|
applicationIdSuffix = ".dev"
|
||||||
|
extra["enableCrashlytics"] = false
|
||||||
|
}
|
||||||
getByName("release") {
|
getByName("release") {
|
||||||
|
resValue("string", "app_name", "Raccoon for Lemmy")
|
||||||
isMinifyEnabled = true
|
isMinifyEnabled = true
|
||||||
setProguardFiles(
|
setProguardFiles(
|
||||||
listOf(
|
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:name=".MainApplication"
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="Raccoon for Lemmy"
|
android:label="@string/app_name"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.AppSplash">
|
android:theme="@style/Theme.AppSplash">
|
||||||
<activity
|
<activity
|
||||||
|
@ -29,6 +29,9 @@ class MainApplication : Application(), ImageLoaderFactory {
|
|||||||
append(" (")
|
append(" (")
|
||||||
append(BuildConfig.VERSION_CODE)
|
append(BuildConfig.VERSION_CODE)
|
||||||
append(")")
|
append(")")
|
||||||
|
if (BuildConfig.DEBUG) {
|
||||||
|
append(" - dev")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}.apply {
|
}.apply {
|
||||||
val crashReportWriter: CrashReportWriter by inject()
|
val crashReportWriter: CrashReportWriter by inject()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user