Skip to content

Commit

Permalink
Merge pull request #6 from Team-Planz/feature/issue-005-debug-package
Browse files Browse the repository at this point in the history
[ISSUE-005] 릴리즈 앱과 디버그 앱 분리
  • Loading branch information
jihee-dev authored Dec 18, 2022
2 parents 27fd25f + fb2b4c9 commit 9ef5180
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 3 deletions.
3 changes: 3 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ android {
signingConfig = signingConfigs.getByName("debug")
isDebuggable = true
isMinifyEnabled = false
applicationIdSuffix = ".debug"
manifestPlaceholders["appName"] = Configs.APP_NAME + ".Debug"
}

release {
Expand All @@ -41,6 +43,7 @@ android {
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
manifestPlaceholders["appName"] = Configs.APP_NAME
}
}
compileOptions {
Expand Down
29 changes: 29 additions & 0 deletions app/google-services.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,35 @@
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:626079185695:android:4113c4107ea104c47cce2a",
"android_client_info": {
"package_name": "com.yapp.growth.debug"
}
},
"oauth_client": [
{
"client_id": "626079185695-j6kgiofc8h8tqh8gu8talv5c1soq866s.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAyx8MnwBiLESMNMhh0yARVCWxWkBiIs9U"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "626079185695-j6kgiofc8h8tqh8gu8talv5c1soq866s.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
android:name=".PlanzApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:label="${appName}"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Growth">
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<resources>
<string name="app_name">플랜즈</string>
</resources>
</resources>
3 changes: 3 additions & 0 deletions buildSrc/src/main/java/Configs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ object Configs {
const val TARGET_SDK = 32
const val VERSION_CODE = 220805001
const val VERSION_NAME = "1.1.1"

// App Info
const val APP_NAME = "플랜즈"
}

0 comments on commit 9ef5180

Please sign in to comment.