Skip to content

Commit

Permalink
WIP on test/debug_app
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokwanhee committed Dec 10, 2024
1 parent d739739 commit e52a49c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions koin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ android {

buildTypes {
getByName("debug") {
applicationIdSuffix = ".dev"
isDebuggable = true
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
)
manifestPlaceholders["appName"] = "@string/app_name_dev"
manifestPlaceholders["appIcon"] = "@mipmap/ic_launcher_koin"
buildConfigField("Boolean", "IS_DEBUG", "true")
buildConfigField(
"String",
Expand All @@ -57,6 +60,8 @@ android {
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
)
manifestPlaceholders["appName"] = "@string/app_name"
manifestPlaceholders["appIcon"] = "@mipmap/ic_launcher_koin"
buildConfigField("Boolean", "IS_DEBUG", "false")
signingConfig = signingConfigs.getByName("release")
buildConfigField(
Expand Down
8 changes: 4 additions & 4 deletions koin/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
android:name=".KoinApplication"
android:allowBackup="false"
android:fullBackupContent="false"
android:icon="@mipmap/ic_launcher_koin"
android:label="@string/app_name"
android:icon="${appIcon}"
android:label="${appName}"
android:requestLegacyExternalStorage="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme.NoActionBar"
android:usesCleartextTraffic="true"
tools:replace="android:name">
tools:replace="icon,label">

<activity
android:name=".ui.timetablev2.TimetableActivity"
Expand Down Expand Up @@ -141,7 +141,7 @@

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="in.koreatech.koin.provider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
Expand Down
1 change: 1 addition & 0 deletions koin/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<string name="app_name" tools:ignore="DuplicateDefinition">코인</string>
<string name="app_name_dev" tools:ignore="DuplicateDefinition">코인D</string>

<string name="sign_up">회원가입</string>
<string name="login_complete">로그인완료</string>
Expand Down

0 comments on commit e52a49c

Please sign in to comment.