Skip to content

Commit 8bc61d7

Browse files
committed
#556 [fix] API 33 타겟팅으로 인해 광고 ID 선언 관련 manifest 수정
1 parent 766175d commit 8bc61d7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

app/src/main/AndroidManifest.xml

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
34
package="com.teamsparker.android">
45

56
<uses-permission android:name="android.permission.INTERNET" />
@@ -10,6 +11,11 @@
1011
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
1112
android:maxSdkVersion="28" />
1213

14+
<!-- API 33 이상부터 광고 ID 선언해야하지만 사용하지 않아서 아래와 같이 권한 추가 -->
15+
<uses-permission
16+
android:name="com.google.android.gms.permission.AD_ID"
17+
tools:node="remove" />
18+
1319
<uses-feature
1420
android:name="android.hardware.camera2"
1521
android:required="false" />
@@ -26,6 +32,11 @@
2632
android:roundIcon="@mipmap/ic_app_logo_round"
2733
android:supportsRtl="true"
2834
android:theme="@style/Theme.SparkAndroid">
35+
36+
<!-- API 33 이상부터 광고 ID 선언해야하지만 사용하지 않아서 아래와 같이 권한 추가 -->
37+
<meta-data
38+
android:name="google_analytics_adid_collection_enabled"
39+
android:value="false" />
2940
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="${FACEBOOK_APP_ID}"/>
3041

3142
<activity

0 commit comments

Comments
 (0)