The Advertising ID library defines an interface to interact with system-level ad providers across the devices running your app. This interface allows your app to receive consistent advertising ID values.

For information on how to work with the advertising ID library, see the guide on how to get user-resettable ad identifiers.

Declaring dependencies

To add a dependency on Lifecycle, you must add the Google Maven repository to your project. For more information, read Google's Maven repository.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

dependencies {
  implementation ''

  // Optional - add if you're using Guava to handle
  // return values of type ListenableFuture.
  implementation ''

Version 1.0.0-alpha01

August 7, 2019,, and are released. The commits included in this version can be found here.