Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

AMP-84238 Update Android dependency to get Advertising Id #968

Merged
merged 2 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/data/sdks/typescript-react-native/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -728,11 +728,11 @@ Android Ad ID is a unique identifier for each device. Android Ad ID is reset by

To use Android Ad ID, follow these steps.

1. Add `play-services-ads` as a dependency to the Android project of your app. More detailed setup is [described in our latest Android SDK docs](/data/sdks/android-kotlin/#advertiser-id).
1. Add `play-services-ads-identifier` as a dependency to the Android project of your app. More detailed setup is [described in our latest Android SDK docs](/data/sdks/android-kotlin/#advertiser-id).

```bash
dependencies {
implementation 'com.google.android.gms:play-services-ads:18.3.0'
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
}
```

Expand Down
4 changes: 2 additions & 2 deletions includes/sdk-android/android-sdk-advertiser-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Follow these steps to use Android Ad ID.

As of April 1, 2022, Google allows users to opt out of Ad ID tracking. Ad ID may return null or error. You can use am alternative ID called [App Set ID](#app-set-id), which is unique to every app install on a device. [Learn more](https://support.google.com/googleplay/android-developer/answer/6048248?hl=en).

1. Add `play-services-ads` as a dependency.
1. Add `play-services-ads-identifier` as a dependency.

```bash
dependencies {
implementation 'com.google.android.gms:play-services-ads:18.3.0'
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
}
```

Expand Down
Loading