Skip to main content

Android Configuration

info

If you are using Expo, you can skip this section.

Redirect URI Setup

Refer to the Official Documentation for implementing the Kakao login functionality and receiving the authorization code through redirection.

To do this, you need to configure the activity (Activity) in AndroidManifest.xml. Refer to the example below.

<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${NATIVE_APP_KEY}://oauth" -->
<data android:host="oauth"
android:scheme="kakao${NATIVE_APP_KEY}" />
</intent-filter>
</activity>
note

For more details, refer to the Official Documentation.