-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cross-origin redirect inside of an iframe is interpreted as a redirect for the app #78
Comments
I also encountered the same issue, but for the Google Maps embed. For me, it also worked in 1.1.0 but not in 1.1.1. Here is the iframe: <iframe
allowfullscreen=""
class="mb-2 rounded-3"
frameborder="0"
height="150"
width="100%"
src="https://www.google.com/maps/embed/v1/place?key=<key...>&q=<query...>&zoom=15"
></iframe> The thing is that for me when I navigate to the page the containing the iframe there is no issue, but when I pull-to-refresh the WebView it opens the embedded link in the browser. |
We're encountering the same thing and have opened up a reproducible example here: It seems to only happen during a ColdBootVisit for us. Adding
into Fixes the issue. |
Hey guys, we've merged #80 which should address this issue.
@noah44846 Only a cold boot visit is affected by this. Since pull to refresh initiates a cold boot visit, you ran into this behaviour. |
I tested it on our project, and it fixes the issue we've had. Thanks! |
Yes this solves my issue. Thank you! |
I have a page loading with a standard inline YouTube embed:
Since updating from 1.1.0 to 1.1.1, I assume as a result of #70, when this page loads it instantly bounces over to the Safari app at this YouTube url.
I'm not sure what the best solution is, but my hope would be that in detecting things like Cross-origin redirects, it could safely ignore those that aren't happening on the parent frame.
To reproduce, you can take the Demo app and locally serve up just the iframe html above.
The text was updated successfully, but these errors were encountered: