# Android 12 ADID 변경사항

2021년 말에 출시되는 Google Android 12부터 ADID 수집 방식에 변화가 있을 예정입니다. Google Play 서비스 업데이트로 인해, 사용자가 Android 설정에서 **ADID를 사용한 맞춤설정** **선택을 해제하면 사용자의 ADID를 수집할 수 없습니다.**

따라서 Android 기기가 해당 맞춤설정을 비활성화 할 시, 와이즈트래커 SDK에서는 ADID 식별자 대신 0으로 이뤄진 문자열이 수집됩니다.

따라서, Google의 신규 Android 12 에 대응하기 위해 2가지 업데이트가 필요합니다.\
\
**1. Google의 ADID (광고ID) 획득을 위한 퍼미션 업데이트**\
**2. Wisetracker 최신 버전으로 SDK 업데이트**

### Google ADID 획득을 위한 퍼미션 업데이트

Google의 정책 변화로 Android 12에서는 ADID(광고 ID) 수집을 위한 별도의 퍼미션이 추가돼야 합니다. AndroidManifest.xml에 아래 퍼미션을 반드시 추가하시기 바랍니다.

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

### Wisetracker 최신 버전으로 SDK 업데이트

Android 12의 ADID 수집을 위해서는 Wisetracker 최신 버전 SDK로 업데이트가 필요합니다.

"app" 모듈단위의 app/build.gradle 파일에 있는 dependencies에 아래와 같이 Wisetracker SDK를 추가하시기 바랍니다.

{% tabs %}
{% tab title="gradle" %}

```
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    ....
    // SDK
    implementation "com.sdk.wisetracker:base_module:latest.release"
    implementation "com.sdk.wisetracker:new_dot_module:latest.release"
}
```

{% endtab %}
{% endtabs %}

해당 정책은 2022년 초부터 Google Play를 지원하는 모든 앱으로 확대될 예정입니다. 자세한 내용은 [Google 고객센터 문서](https://support.google.com/googleplay/android-developer/answer/6048248?hl=ko\&ref_topic=2364761#zippy=)와 [Developer API](https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info)를 참조해 주시기 바랍니다.

문의사항은 <tech@wisetracker.co.kr>로 메일 부탁드립니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://document.wisetracker.co.kr/v2-developer/sdk/android/android-12-adid.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
