[MOD-2400] Android: Feature for getting Android Advertising ID (AAID)
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-09-06T16:44:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Admob |
Labels | escalation |
Reporter | Motiur Rahman |
Assignee | Yordan Banev |
Created | 2018-02-27T03:27:34.000+0000 |
Updated | 2018-09-06T16:45:00.000+0000 |
Description
Need a new feature for getting Android Advertising ID (AAID) on Android.
- https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient
Thanks!
This feature should be added to our "ti.admob" module. The reason we don't want to add this to our core code is because Google Play scans for this API usage, and if they find it, then they'll demand the app developer to write-up and upload a "Privacy Policy" if ads are not being used. We don't want to penalize other Titanium app developers who don't use advertiser ID. So, putting it into the admob module avoids this issue.
PR: https://github.com/appcelerator-modules/ti.admob/pull/76
FR Passed.
getAndroidAdID
&isLimitAdTrackingEnabled
works as expected. Studio Ver: 5.1.0.201808080937 SDK Ver: 7.3.1.GA OS Ver: 10.13.5 Xcode Ver: Xcode 9.4.1 Appc NPM: 4.2.13 Appc CLI: 7.0.6 Daemon Ver: 1.1.3 Ti CLI Ver: 5.1.1 Alloy Ver: 1.13.2 Node Ver: 8.9.1 NPM Ver: 5.5.1 Java Ver: 10.0.2 Devices: ⇨ google Nexus 5 (Android 6.0.1) ⇨ google Nexus 6P (Android 8.1.0)Verified the fix in admob module 4.2.1. Closing.