Skip to content

Commit

Permalink
#556 [fix] API 33 타겟팅으로 인해 광고 ID 선언 관련 manifest 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yjooooo committed Oct 17, 2023
1 parent 766175d commit 8bc61d7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.teamsparker.android">

<uses-permission android:name="android.permission.INTERNET" />
Expand All @@ -10,6 +11,11 @@
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="28" />

<!-- API 33 이상부터 광고 ID 선언해야하지만 사용하지 않아서 아래와 같이 권한 추가 -->
<uses-permission
android:name="com.google.android.gms.permission.AD_ID"
tools:node="remove" />

<uses-feature
android:name="android.hardware.camera2"
android:required="false" />
Expand All @@ -26,6 +32,11 @@
android:roundIcon="@mipmap/ic_app_logo_round"
android:supportsRtl="true"
android:theme="@style/Theme.SparkAndroid">

<!-- API 33 이상부터 광고 ID 선언해야하지만 사용하지 않아서 아래와 같이 권한 추가 -->
<meta-data
android:name="google_analytics_adid_collection_enabled"
android:value="false" />
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="${FACEBOOK_APP_ID}"/>

<activity
Expand Down

0 comments on commit 8bc61d7

Please sign in to comment.