Android Question How to exclude com.google.android.gms.permission.AD_ID permission

toby

Well-Known Member
Licensed User
Longtime User
My app, which doesn't contain ads and nor use the advertising ID explicitly, was fine until I upgraded B4A from 12.20 to 12.50.

The following Manifest entries cause the permission to be added automatically even though the advertisement entry is commented out.
B4X:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''firebase crash report
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase) 'required
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase) 'required
CreateResourceFromFile(Macro, FirebaseAnalytics.Crashlytics)
''''''''''''''''''''''''''''''''
'CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications) 'notification/push message
CreateResourceFromFile(Macro, FirebaseAnalytics.FirebaseAnalytics) 'analytics
'CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds) 'ads, commented out since the app contains no ads
'CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth) 'auth
'''''''''''''''''''firebase crash report'''''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

You can see the permission when you select IDE->Logs->List permissions. If this permission is not removed, then I would have to falsely declare that my app contains ads in order to fix the permission-related error in the Google Play's Data safety section.

Could someone kindly tell me how to fix the problem, please? Test app attached


TIA
 

Attachments

  • Project.zip
    13.8 KB · Views: 152

toby

Well-Known Member
Licensed User
Longtime User
Google Play shows the above message under the App Content
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…