우리는 고유 한 ID를 얻기 위해 아래의 코드를 사용 플랫폼을 변경합니다. https://developer.android.com/preview/behavior-changes.htmlAndroid_ID는
The platform now handles identifiers differently.
Values of ANDROID_ID are now scoped per-app instead of per-user. The value of ANDROID_ID is unique for each combination of application package name, signature, user, and device. Two apps running on the same device no longer see the same Android ID, and so cannot correlate.
The value of ANDROID_ID does not change on package uninstall or reinstall, as long as the package name and signing key are the same.
The value of ANDROID_ID does not change if the package signing key changes due to an update.
For apps that were installed prior to the OTA, the value of ANDROID_ID remains the same unless uninstalled and then reinstalled.
If you wish to continue using Android ID for device-bound free trial protection, you can do so. Make sure that the package name and signature match.
For a simple, standard system to monetize apps, use Advertising ID. Advertising ID is a unique, user-resettable ID for advertising, provided by Google Play services.
위의 나의 이해는 이제 Android_ID 앞으로가는 응용 프로그램이 아니라 구속 장치보다 준수 할 것입니다. 그러나 나는 아래 점에 대해 혼란 스럽습니다 :
OTA 이전에 설치된 응용 프로그램의 경우 ANDROID_ID 값은 제거한 다음 다시 설치하지 않는 한 동일하게 유지됩니다. 기기 사용 제한 무료 평가판 보호를 위해 Android ID를 계속 사용하려면 그렇게 할 수 있습니다. 패키지 이름과 서명이 일치하는지 확인하십시오.
1) 이것은 무엇을 의미합니까? 내 앱을 다시 설치하지 않으면 Google에서 업데이트를 보내더라도 legacy_id가 계속 유지됩니까?
2) 기기 사용 제한 무료 평가판 보호를 위해 Android ID를 계속 사용하려면 그렇게 할 수 있습니다. 패키지 이름과 서명이 일치하는지 확인하십시오. 이것이 의미하는 바는 무엇입니까?
1에 대한 명확한 내용 2 : 내 패키지 이름과 서명이 동일하게 유지되면 앱을 제거한 후 다시 설치하더라도 Android_ID가 동일할까요? – Sid
예 1)과 같은 설명이 여기에 적용됩니다. 두 동작 모두 O에서 발생하면 동일하게 유지됩니다. 첫 번째 작업이
akash93
죄송합니다. "O에서 두 작업이 모두 발생하면 동일하게 유지됩니다. 첫 번째 작업이
Sid