Android Configuration
info
Skip this document if you are using Expo.
Custom URL Scheme Setup
To enable easy addition of KakaoTalk channels, you need to configure the activity in the AndroidManifest.xml
. This setting is for supporting the internal redirection used in this feature. Refer to the example below.
<activity
android:name="com.kakao.sdk.talk.FollowChannelHandlerActivity"
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}://channel" -->
<data android:host="channel" android:scheme="kakao${NATIVE_APP_KEY}" />
</intent-filter>
</activity>