Skip to content

Commit

Permalink
[Feat] Application Sdk & app key 등록
Browse files Browse the repository at this point in the history
  • Loading branch information
jinuemong committed Jan 25, 2024
1 parent acd641f commit b6ba9d4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ dependencies {

implementation(libs.bundles.logging)
debugImplementation(libs.leakcanary)

implementation(libs.kakao.user)
}

fun getLocalProperty(propertyKey: String): String {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
package ac.dnd.bookkeeping.android

import android.app.Application
import com.kakao.sdk.common.KakaoSdk
import dagger.hilt.android.HiltAndroidApp

@HiltAndroidApp
open class BookkeepingApplication : Application()
open class BookkeepingApplication : Application() {
override fun onCreate() {
super.onCreate()
KakaoSdk.init(this, getString(R.string.kakao_app_key))
}
}
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">장부 관리 앱</string>
<string name="kakao_app_key">4a21c9a851ed14755f635bb2ec5ddc75</string>
<string name="kakao_oauth_key">kakao4a21c9a851ed14755f635bb2ec5ddc75</string>
</resources>
2 changes: 2 additions & 0 deletions data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ dependencies {

implementation(libs.bundles.logging)
debugImplementation(libs.okhttp3.logging.interceptor)

implementation(libs.kakao.user)
}

fun getLocalProperty(propertyKey: String): String {
Expand Down

0 comments on commit b6ba9d4

Please sign in to comment.