문의 시 사용하시는 SDK 버전 정보와 플랫폼(Android / iOS) 및 디벨로퍼스 앱ID를 알려주세요.
kakao_flutter_sdk: ^1.5.0
appId : 512927
flutter 카카오톡 메시지 공유를 사용하고 있습니다. 그래서 설정에 맞게 ‘kakaolink’ 호스트를 추가하였는데 다음과 같은 오류가 발생하였습니다.
혹시 몰라 AndroidManifest.xml 파일 코드도 첨부드립니다.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.danbicorp.cashfi">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- Pincrux Permission -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- AD Permission Targeting upper api 31 -->
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
<!-- CashStep Permission -->
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<!-- Reward Permission -->
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
<!-- Advertising ID Permission -->
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
<!-- notification Permission -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<!-- tnk Permission -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!-- CPX Research Permission -->
<uses-permission android:name="android.permission.VIBRATE" />
<!-- minSdk override for Health -->
<uses-sdk tools:overrideLibrary="cachet.plugins.health, androidx.health.connect.client"/>
<!-- Sim Data Permission -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<queries>
<provider android:authorities="com.facebook.katana.provider.PlatformProvider" />
</queries>
<application
android:label="@string/app_label"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
android:allowBackup="false"
android:usesCleartextTraffic="false"
android:networkSecurityConfig="@xml/network_security_config"
tools:replace="android:allowBackup,android:usesCleartextTraffic">
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="@string/google_ad_application_id"/>
<meta-data android:name="com.google.firebase.messaging.default_notification_channel_id" android:value="@string/firebase_message_channel_id" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_cashfi_notification" />
<meta-data
android:name="com.naver.sdk.clientId"
android:value="@string/client_id" />
<meta-data
android:name="com.naver.sdk.clientSecret"
android:value="@string/client_secret" />
<meta-data
android:name="com.naver.sdk.clientName"
android:value="@string/client_name" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id"/>
<meta-data
android:name="com.facebook.sdk.ClientToken"
android:value="@string/facebook_client_token"/>
<!-- GenieWorks Applovin Key-->
<meta-data
android:name="applovin.sdk.key" android:value="@string/applovin_sdk_key_genie_works" />
<activity
android:name=".MainActivity"
android:theme="@style/LaunchTheme"
android:exported="true"
android:launchMode="singleTop"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<meta-data android:name="flutter_deeplinking_enabled" android:value="true" />
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background"/>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="cashfiprod.page.link" />
<data android:scheme="https" />
<data android:scheme="@string/fb_login_protocol_scheme" />
<data android:host="kakaolink"
android:scheme="@string/kakao_link_scheme" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity
android:name="com.kakao.sdk.flutter.AuthCodeCustomTabsActivity"
android:exported="true">
<intent-filter android:label="flutter_web_auth">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="@string/kakao_link_scheme" android:host="oauth"/>
</intent-filter>
</activity>
<activity
android:name="com.yalantis.ucrop.UCropActivity"
android:screenOrientation="portrait"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/google_api_key"/>
<meta-data
android:name="com.kakao.sdk.AppKey"
android:value="@string/kakao_sdk_appkey" />
<meta-data
android:name="tnkad_app_id" android:value="@string/tnk_app_id" />
</application>
</manifest>