Android Configuration
info
If you are using Expo, you can skip this section.
Redirect URI Setup
Refer to the Official Documentation to implement Kakao login and receive the authorization code through redirection.
Configure the Activity in AndroidManifest.xml for this redirect. 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.