Skip to content

Commit

Permalink
[maro/#47] feat :: 카카오 로그인 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
leesumin0526 committed Jun 24, 2024
1 parent b6b4337 commit 055aabe
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 120 deletions.
74 changes: 22 additions & 52 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions UMC_6th/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ plugins {
id("kotlin-kapt")
}



android {
namespace = "com.example.umc_6th"
compileSdk = 34
Expand All @@ -16,6 +18,7 @@ android {
dataBinding = true
}


defaultConfig {
applicationId = "com.example.umc_6th"
minSdk = 24
Expand Down Expand Up @@ -43,9 +46,11 @@ android {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}


}

dependencies {
implementation("com.kakao.sdk:v2-user:2.12.1")
implementation("com.google.android.material:material:1.10.0")
implementation("androidx.room:room-migration:2.6.0")
implementation("androidx.room:room-runtime:2.6.0")
Expand Down
9 changes: 7 additions & 2 deletions UMC_6th/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<uses-permission android:name="android.permission.INTERNET" />

<application
android:name=".GlobalApplication"
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
Expand All @@ -17,9 +18,13 @@
android:supportsRtl="true"
android:theme="@style/Theme.UMC_6th"
tools:targetApi="31">
<meta-data
android:name="com.kakao.sdk.AppKey"
android:value="9869def2f21ef97ba7f905ec34960cbb"/>

<activity android:name=".SignUpActivity" />
<activity android:name=".LoginActivity"/>
<activity android:name=".auth.SignUpActivity" />
<activity android:name=".auth.LoginActivity"/>
<activity android:name=".GlobalApplication"/>

<activity
android:name=".ui.MainActivity"
Expand Down
13 changes: 13 additions & 0 deletions UMC_6th/app/src/main/java/com/example/umc_6th/GlobalApplication.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.example.umc_6th

import android.app.Application
import com.kakao.sdk.common.KakaoSdk

class GlobalApplication : Application() {
override fun onCreate() {
super.onCreate()

// Kakao Sdk 초기화
KakaoSdk.init(this, "9869def2f21ef97ba7f905ec34960cbb")
}
}
Loading

0 comments on commit 055aabe

Please sign in to comment.