Skip to content

Commit

Permalink
Merge pull request #516 from adjust/readme-update
Browse files Browse the repository at this point in the history
Update localised READMEs
  • Loading branch information
uerceg authored Oct 25, 2021
2 parents 24bc9f3 + dba8ab4 commit b57fec0
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/chinese/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,16 @@ Adjust SDK 需要下列权限。如果尚未添加,请将权限加入您的 `A
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
```

#### <a id="gps-adid-permission"></a>添加收集 Google 广告 ID 的许可

如果您针对的是 Android 12 及更高版本 (API level 31),则需要添加`com.google.android.gms.AD_ID` 许可来读取设备的广告 ID。请将下列行添加至您的 `AndroidManifest.xml` 中,以启用许可。

```xml
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
```

要了解更多信息,请参阅 [Google `AdvertisingIdClient.Info` 相关文档](https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info#public-string-getid)

### <a id="qs-proguard"></a>Proguard 设置

如果您使用的是 Proguard,请将如下代码行添加至您的 Proguard 文件:
Expand Down
10 changes: 10 additions & 0 deletions doc/japanese/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,16 @@ implementation 'com.google.android.gms:play-services-ads-identifier:17.0.0'
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
```

#### <a id="gps-adid-permission"></a>Google 広告IDを取得するためのパーミッションの追加

Android 12以上(APIレベル31)を対象としている場合、デバイスの広告IDを読み取るにはパーミッション「com.google.android.gms.AD_ID」を追加する必要があります。パーミッションを有効にするには、「AndroidManifest.xml」に次の行を追加します。

```xml
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
```

詳細については、[Googleの`AdvertisingIdClient.Info` のドキュメント](https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info#public-string-getid) をご覧ください。

### <a id="qs-proguard"></a>Proguardの設定

Proguardをお使いの場合は、以下をProguardファイルに追加してください。
Expand Down
10 changes: 10 additions & 0 deletions doc/korean/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,16 @@ Adjust SDK는 다음의 권한을 필요로합니다. 아직 다음의 권한이
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
```

#### <a id="gps-adid-permission"></a>Google 광고 ID 수집을 위해 권한 추가하기

Android 12 이상(API 레벨 31)을 타겟팅 하는 경우, 기기의 광고 ID를 읽기 위해 `com.google.android.gms.AD_ID` 권한을 추가해야 합니다. 다음의 라인을 `AndroidManifest.xml`에 추가하여 권한을 활성화합니다.

```xml
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
```

자세한 정보는 [Google의 `AdvertisingIdClient.Info` 문서](https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info#public-string-getid)를 참조하시기 바랍니다.

### <a id="qs-proguard"></a>Proguard 설정

Proguard를 사용하는 경우, Proguard 파일에 다음 줄을 추가하세요.
Expand Down

0 comments on commit b57fec0

Please sign in to comment.