How to add this permission in B4A?
com.google.android.gms.permission.AD_ID
<code>
AddManifestText(
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="31"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)
AddPermission (android.permission.GET_ACCOUNTS)
AddPermission (android.permission.WRITE_EXTERNAL_STORAGE)
'End of default text.
AddReplacement($ADMOB_APP_ID$, ca-app-pub-xxx)
'************ Google Play Services Base ************
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)
CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds)
CreateResourceFromFile(Macro, FirebaseAnalytics.Crashlytics)
CreateResourceFromFile(Macro, Core.NetworkClearText)
SetApplicationAttribute(android:allowBackup, "false")
</code>
com.google.android.gms.permission.AD_ID
<code>
AddManifestText(
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="31"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)
AddPermission (android.permission.GET_ACCOUNTS)
AddPermission (android.permission.WRITE_EXTERNAL_STORAGE)
'End of default text.
AddReplacement($ADMOB_APP_ID$, ca-app-pub-xxx)
'************ Google Play Services Base ************
CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)
CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds)
CreateResourceFromFile(Macro, FirebaseAnalytics.Crashlytics)
CreateResourceFromFile(Macro, Core.NetworkClearText)
SetApplicationAttribute(android:allowBackup, "false")
</code>