Page MenuHomePhabricator

[native] Exclude `permission.AD_ID` to unblock Android release
ClosedPublic

Authored by atul on Apr 7 2023, 11:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 17, 7:16 AM
Unknown Object (File)
Fri, Jun 14, 4:54 PM
Unknown Object (File)
Tue, Jun 11, 7:12 PM
Unknown Object (File)
Mon, Jun 10, 4:58 PM
Unknown Object (File)
Wed, Jun 5, 1:48 PM
Unknown Object (File)
Wed, Jun 5, 1:48 PM
Unknown Object (File)
Wed, Jun 5, 1:48 PM
Unknown Object (File)
Wed, Jun 5, 1:48 PM
Subscribers

Details

Summary

Since we've bumped up to API level 33 since last release we need to be explicit about including/excluding permission.AD_ID permission.

The play-services-measurement dependency (~2019 release) requests the permission.AD_ID which gets merged into the manifest generated during build that we submit to Play Store console.

This permission is only necessary if we need to access the advertising ID of the device (which we don't), and can safely be removed.

Here's the relevant snippet from the docs explaining how to prevent the AD_ID permission from being merged:

bc80bd.png (332×1 px, 66 KB)

https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info#getId()

Test Plan

Submit another release and see what happens... I guess I could also make a release locally and check the merged manifest?

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable