Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新到targetSDK = 33之後,抓到的OAID全是0 #58

Open
dokinkon opened this issue Aug 11, 2022 · 4 comments
Open

更新到targetSDK = 33之後,抓到的OAID全是0 #58

dokinkon opened this issue Aug 11, 2022 · 4 comments

Comments

@dokinkon
Copy link

如題,更新到targetSDK = 33,且release build之後,抓到的OAID全是0,有確認過設定的隱私權設定中廣告追蹤有開啟,有顯示裝置的廣告ID。

但是降版回targetSDK = 32之後,就可以正常抓到OAID
請問大神知道可能的原因嗎?

@chenjiaming2qiqi
Copy link

有后续吗?

1 similar comment
@ok406lhq
Copy link

ok406lhq commented Aug 1, 2023

有后续吗?

@liyujiang-gzu
Copy link
Member

liyujiang-gzu commented Nov 12, 2023

我已经1年没搞安卓了,暂时没了解过sdk 30以后的版本,这个项目我设置的targetSdkVersion是30。欢迎各位老铁研究后贡献代码,解决后提PR,感谢😘😚😗😙

@Eterocell
Copy link

GMS OAID 在应用 target 33+ 时需要 com.google.android.gms.permission.AD_ID 权限,详见 AdvertisingIdClient.Info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants