Skip to content

Commit

Permalink
Remove ad_id permission(#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-pratik-k authored Dec 16, 2024
1 parent 32da5ce commit a876701
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,11 @@ flutter {

dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
}

// Disable the use of firebase_analytics ad_id
configurations {
all {
exclude group: 'com.google.android.gms.ads'
}
}
5 changes: 5 additions & 0 deletions app/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
android:name="com.canopas.cloud_gallery.notification_icon"
android:resource="@drawable/cloud_gallery_logo" />

<!-- Disable firebase analytics ad id usage -->
<meta-data
android:name="google_analytics_adid_collection_enabled"
android:value="false" />

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down

0 comments on commit a876701

Please sign in to comment.