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
iPad Pro webviews not detected #446
Comments
Can you please post the user agent? |
User Agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) AppName iOS" |
@fnando I ran into the same error. Is there any solution to this issue? |
I believe this is related to #404. There's nothing I can do, unfortunately. |
@saikiransripada I got it to work. So, if the following is true then it's an iPad Pro webview: this worked for me. |
Thanks @asad-imtiaz you made my day |
Testing the solution @asad-imtiaz suggests - in 2024 and iPadOS 17.1.1, the platform name iPad Pro 12.9 reports is "macintosh". |
I am using browser gem's
browser.platform.ios_webview?
method to detect requests coming from iOS webviews.It seems to work fine except for the iPad Pro. For iPad Pro this method returns false instead of true.
Any idea why this might be happening?
The text was updated successfully, but these errors were encountered: