Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit 28dfbbc

Browse files
committed
Update readme wording to be clearer (step 2)
Update links to documentation readme to include header
1 parent f9b6b69 commit 28dfbbc

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

Documentation/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,16 @@ To enable advertising identifier features in the sample app, follow these steps:
1818
1. Update the value for key `gms_ads_app_id` located in the `secrets.xml` at [aepsdk-sample-app-android/Sample-App/app/src/main/res/values](../Sample-App/app/src/main/res/values/secrets.xml) with a valid Google AdMob app ID.
1919
- See Google's [quick start reference](https://developers.google.com/admob/android/quick-start) on how to get your AdMob app ID. See step 3 of the [Configure your app](https://developers.google.com/admob/android/quick-start#import_the_mobile_ads_sdk) section for a free public test app ID from Google.
2020
- Any real key values in the `secrets.xml` file should **not** be committed to the repository.
21-
2. [Find and replace](https://www.jetbrains.com/help/idea/finding-and-replacing-text-in-project.html#replace_search_string_in_project) all instances of:
21+
2. Uncomment the implemention code using [find and replace](https://www.jetbrains.com/help/idea/finding-and-replacing-text-in-project.html#replace_search_string_in_project) to replace all instances of:
2222
```java
2323
/* Ad ID implementation
2424
```
2525
with:
2626
```java
2727
//* Ad ID implementation
2828
```
29-
Find and replace default shortcuts in Android Studio:
30-
[<img src="./assets/find-and-replace-shortcuts.png" alt="Default shortcuts for find and replace"/>](./assets/find-and-replace-shortcuts.png)
31-
32-
This will uncomment all the code blocks required to enable the ad ID feature; one of the blocks requires syncing the project with Gradle file changes (covered in the next step).
29+
Find and replace default shortcuts in Android Studio:
30+
[<img src="./assets/find-and-replace-shortcuts.png" alt="Default shortcuts for find and replace" width="500"/>](./assets/find-and-replace-shortcuts.png)
3331
3432
3. Sync Project with Gradle files using: File -> Sync Project with Gradle Files
3533

Sample-App/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ dependencies {
5050
implementation 'com.github.bumptech.glide:glide:4.12.0'
5151
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
5252

53-
// For complete instructions on how to enable ad ID features, please see ./Documentation/README.md
53+
// For complete instructions on how to enable ad ID features, please see ./Documentation/README.md#advertising-identifier
5454
/* Ad ID implementation (pt. 1/1)
5555
// GAID Advertising Tracking
5656
implementation("com.google.android.gms:play-services-ads-lite:20.6.0")

Sample-App/app/src/main/java/com/adobe/marketing/mobile/sampleapp/EdgeIdentityTab.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import com.google.gson.Gson;
2929
import com.google.gson.GsonBuilder;
3030

31-
// For complete instructions on how to enable ad ID features, please see ./Documentation/README.md
31+
// For complete instructions on how to enable ad ID features, please see ./Documentation/README.md#advertising-identifier
3232
/* Ad ID implementation (pt. 1/3)
3333
import android.os.Handler;
3434
import android.os.Looper;
@@ -126,7 +126,7 @@ public void call(String ecid) {
126126
btnUpdateAdId.setOnClickListener(new View.OnClickListener() {
127127
@Override
128128
public void onClick(final View v) {
129-
Log.d(LOG_TAG,"For complete instructions on how to enable ad ID features, please see ./Documentation/README.md");
129+
Log.d(LOG_TAG,"For complete instructions on how to enable ad ID features, please see ./Documentation/README.md#advertising-identifier");
130130
}
131131
});
132132

0 commit comments

Comments
 (0)