-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUD-21] feat : App-Application 클래스 생성 (#9)
- Loading branch information
Showing
5 changed files
with
32 additions
and
17 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
app/src/main/java/com/nocapstone/buddyvet/BuddyVetApplication.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.nocapstone.buddyvet | ||
|
||
import android.app.Application | ||
import com.kakao.sdk.common.KakaoSdk | ||
import com.nocapstone.common.util.NATIVE_APP_KEY | ||
|
||
class BuddyVetApplication : Application(){ | ||
|
||
override fun onCreate() { | ||
super.onCreate() | ||
//KaKao Develop이랑 연동 | ||
KakaoSdk.init(this, NATIVE_APP_KEY) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package com.nocapstone.common.util | ||
|
||
const val NATIVE_APP_KEY = "d48bcd0a6e882bce9b756ab78c9acd6e" |