Update guide
1.Update from v3.4.0-v3.4.6 to v3.5.0 or above
1.1 Change the configuration
Due to third-party library restrictions, you need to upgrade the kotlin version to 2.1.0 or above, gradle to 7.6.3 or above, android gradle plugin to 7.3.1 or above, and google service version to 4.2.0 or above Please confirm the version of each tool in the project's build.gradle It is recommended to check the AGP and gradle versions in File->Project Structure in Android Studio, and use AGP Update Assistant to upgrade the AGP version
2.Update from v3.3.4-v3.3.6 to v3.4.0 or above
2.1 Change the configuration
Set gradle depends on the gradle version, you may find repositories setting in the file(such as build.gradle,settings.gradle.kts) below the project folder add kakao repository:'https://devrepo.kakao.com/nexus/content/groups/public/'
here is a groovy example:
maven{ url 'https://devrepo.kakao.com/nexus/content/groups/public/' }
Add the following code to the application tag of AndroidManifest.xml
<activity android:name="com.kakao.sdk.auth.AuthCodeHandlerActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Redirect URI: "kakao${YOUR_NATIVE_APP_KEY}://oauth" -->
<data android:scheme="kakao【Please replace the brackets and the text in brackets with the Kakao app key in the parameter table】" android:host="oauth" />
</intent-filter>
</activity>
Add the following code to res/values/strings.xml
<string name="naver_login_client_id" translatable="false">【Please replace the brackets and the text in the brackets with the Client ID of Naver in the parameter table, which may be the same as the parameter of Naver Game】</string>
<string name="naver_login_client_secret" translatable="false">【Please replace the brackets and the text in the brackets with the Client Secret of Naver in the parameter table, which may be the same as the parameter of Naver Game】</string>
<string name="kakao_app_key" translatable="false">【Please replace the brackets and the text in brackets with the Kakao app key in the parameter table】</string>
Add the following code to proguard-rules.pro
-keep class com.kakao.sdk.**.model.* { <fields>; }
-keep class com.kakao.sdk.auth.AuthCodeHandlerActivity { *; }
-keep class * extends com.google.gson.TypeAdapter
-dontwarn org.bouncycastle.jsse.**
-dontwarn org.conscrypt.*
-dontwarn org.openjsse.**