AppsFlyerSDK / appsflyer-cordova-plugin

AppsFlyer plugin for Cordova
MIT License
37 stars 71 forks source link

Advertising ID permission for Android #204

Closed pauloya closed 2 years ago

pauloya commented 2 years ago

Hi, we received an email from Appsflyer indicating our Android app should have this permission set when targeting Android 12 (API 31): com.google.android.gms.permission.AD_ID Am I right in thinking this is not needed for now because Cordova is not targeting this version yet? And will you be adding this permission to this plugin when the time comes?

ge-af commented 2 years ago

Hi @pauloya

This permission was indeed introduced by Google in intention to be included in Android 12. Google recently mentioned that this permission will be needed for Android 13 and not Android 12, so I believe you don't have to worry about it until Cordova will have the possibility to target Android 13 (API 32).

We are not sure yet that this permission will be added to the plugin/SDK directly. Currently it's up to the developer to add it to their Manifest file inside the application.