-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Prebid.js gives error on some iphone models such as 11 #12500
Comments
If anyone can help I would be very happy |
https://browserslist.dev/?q=Pi4xOSU%3D we use > .25% for the version on the download page; it is adjusted here Line 30 in b3577cc
Do you find iphone 11 with safari belowe 13.4 is popular? |
To elaborate: the error is due to the browser not supporting some JS features; for example ?? is supported from IOS 13.4, and the iphone 11 available on Browserstack is running 13.1. I am not an iphone user so I don't know if that means that "real" devices are stuck on that version - an OS update would solve the issue. We compile against browsers that have at least 0.25% market share and the earliest IOS version that passes that test is 15.6. You can adjust that as @patmmccann mentioned. |
Thank you @patmmccann and @dgirardi This was very helpful information. It works! Actually you're right. But one of our manager noticed this situation. Thanks a lot again |
Type of issue
Prebid.js gives error on some iphone models such as 11
Description
Hello,
Prebid.js version created from prebid.org website gives error on some iphone models such as 11 or 8
When I try to debug error, I can't. Because I can not see in developer console. When I open by clicking error message, nothing happnes instead og going error source.
Steps to reproduce
I created very basic blank page for testing.
<script async src="https://pigeoon-native.b-cdn.net/common/v8/prebid9.20.0.js"></script>https://pigeoon-native.b-cdn.net/common/v8/prebid.html
You can also create blank html page and paste belowed code into html page
If you test with "BrowserStack" on iPhone 11 chrome or safari you can see error on console
Test page
https://pigeoon-native.b-cdn.net/common/v8/prebid.html
Expected results
Gives error
SyntaxError: Unexpected token '?'
Actual results
Platform details
Other information
The text was updated successfully, but these errors were encountered: