Skip to content

Instantly share code, notes, and snippets.

@kfaraj
Created October 1, 2021 13:20
Show Gist options
  • Save kfaraj/2be5f0ce8330ab2cafb388ccfc70d001 to your computer and use it in GitHub Desktop.
Save kfaraj/2be5f0ce8330ab2cafb388ccfc70d001 to your computer and use it in GitHub Desktop.
val advertisingId = AdvertisingIdClient.getAdvertisingIdInfo(this).id
// Do something with the advertising ID.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment