[英]How to get GAID Avertising ID?
你試過這個package 了嗎?
你可以簡單地做:
dependencies:
advertising_id: ^2.4.0
和
try {
advertisingId = await AdvertisingId.id(true);
} on PlatformException {
advertisingId = 'Failed to get platform version.';
}
幫我檢索 Google 廣告 ID (GAID)。
否則我認為除了裸骨 Android 開發之外,現在沒有其他方法可以做到這一點。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.