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

navigator.userAgentData.getHighEntropyValues is not working on Chrome on iPhone #11835

Closed
pm-harshad-mane opened this issue Jun 19, 2024 · 5 comments

Comments

@pm-harshad-mane
Copy link
Contributor

Type of issue

NOT A PREBID BUG/ISSUE

Description

Here is demo page provided by Chrome Team, https://user-agent-client-hints.glitch.me/ on the page https://developer.chrome.com/docs/privacy-security/user-agent-client-hints

On Desktop, you can see navigator.userAgentData.getHighEntropyValues returns the data but it does not return any data on Chrom eon iPhone.

Prebid relies on this API to populate device details
https://github.com/search?q=repo%3Aprebid%2FPrebid.js%20getHighEntropyValues&type=code

Am I missing something?

Steps to reproduce

Visit https://user-agent-client-hints.glitch.me/ on Dsktop and mobile devices.

Test page

https://user-agent-client-hints.glitch.me/

Expected results

The API should return data on both Desktop and mobile devices.

Platform details

Tested on iPhone 14, Chrome 126

@patmmccann
Copy link
Collaborator

@patmmccann
Copy link
Collaborator

Also I bet our friends at 51 degrees may have information cc @jwrosewell

@patmmccann patmmccann moved this from Triage to Tracking in Prebid.js Tactical Issues table Jun 19, 2024
@pm-harshad-mane
Copy link
Contributor Author

Thanks @patmmccann , opened WICG/ua-client-hints#367

@pm-harshad-mane
Copy link
Contributor Author

Got below Feedback on WICG/ua-client-hints#367

As Chrome for iOS uses WebView, I don't believe it supports any JavaScript APIs not part of Safari on iOS: 

https://developer.mozilla.org/en-US/docs/Web/API/NavigatorUAData/getHighEntropyValues

@pm-harshad-mane
Copy link
Contributor Author

Closing as it is as per design.

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

No branches or pull requests

2 participants