My iOS app uses a WKWebView with a WKUIDelegate method (webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:) to handle popup windows. This works for most cases, but during OAuth flows on certain sites (e.g., canva.com), the popup WKWebView attempts to send results back to the main WKWebView using JavaScript like window.opener.postMessage(...). However, window.opener is always null in the popup, preventing the message from being posted and blocking login completion.I've researched this and found suggestions that it's by design, as WKWebView instances are isolated for security reasons. Has anyone encountered this and found a reliable workaround (e.g., bridging communication between the main and popup WKWebViews without relying on window.opener)?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi, my iOS app using plugin.Firebase for google SSO. But the SSO show me a list of account which login previously, I can login with those account without inputting password. Anyway I can clean up the list or force to enter password? Thank you.
Hi,
I would like to deploy my app to iOS device through MDM for testing only, how could I do that without publishing it to App store?
Thank you.
Topic:
App Store Distribution & Marketing
SubTopic:
General
I received this JS error:
$(".tabs li").scaleText is not a function.
on this web site (https://www.topmarks.co.uk/maths-games/hit-the-button --> click "Play Game") with the WKWebView in my app.
The page works fine on Safari, chrome and even SFSafariViewController.
Could anyone please help me on that? Thank you.
Topic:
Safari & Web
SubTopic:
General