Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2400] Android: Feature for getting Android Advertising ID (AAID)

GitHub Issuen/a
TypeNew Feature
Resolution Date2018-09-06T16:44:24.000+0000
Affected Version/sn/a
Fix Version/sn/a
ReporterMotiur Rahman
AssigneeYordan Banev


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!


  1. Joshua Quick 2018-02-28

    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.
  2. Yordan Banev 2018-05-09

    PR: https://github.com/appcelerator-modules/ti.admob/pull/76
  3. Lokesh Choudhary 2018-09-06

    FR Passed. getAndroidAdID & isLimitAdTrackingEnabled works as expected. Studio Ver: 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)
  4. Lokesh Choudhary 2018-09-06

    Verified the fix in admob module 4.2.1. Closing.

JSON Source