Skip to content

Commit b0973f8

Browse files
committed
Fuse.PushNotifications: remove AD_ID permission
This removes the AD_ID permission from AndroidManifest to fix the following error when submitting an app in Google Play Console: This version includes the permission com.google.android.gms.permission.AD_ID, but your Play Console statement says that your app does not use the advertising ID. The AD_ID permission was most likely introduced when upgrading firebase packages in 90b53e3. Pass -DANDROID_AD_ID_PERMISSION to "uno build" if you wish to keep this permission in your AndroidManifest.
1 parent 64ca6b2 commit b0973f8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Extensions Backend="CPlusPlus" Condition="ANDROID && !ANDROID_AD_ID_PERMISSION">
2+
<Require AndroidManifest.RootElement>
3+
<![CDATA[
4+
<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/>
5+
]]>
6+
</Require>
7+
</Extensions>

Source/Fuse.PushNotifications/Fuse.PushNotifications.unoproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
"Android/Impl.uno:Source",
2929
"Android/Impl.cpp.uxl:Extensions",
30+
"Android/RemoveAdvertisingId.uxl:Extensions",
3031
"Android/PushNotificationReceiver.java:File",
3132
"Android/BigPictureStyleHttp.java:File",
3233
"Android/BundleFiles.java:File",

0 commit comments

Comments
 (0)