Skip to content

fix(ios): skip subframe intercepts, improve auth popup support#31

Open
modos189 wants to merge 1 commit into
nativescript-community:masterfrom
modos189:fix/ios-popup-auth
Open

fix(ios): skip subframe intercepts, improve auth popup support#31
modos189 wants to merge 1 commit into
nativescript-community:masterfrom
modos189:fix/ios-popup-auth

Conversation

@modos189
Copy link
Copy Markdown
Contributor

  • Skip shouldOverrideUrlLoading for subframes (iframes) to match Android behaviour (Add Android popup support; add popupNavigate event for both platforms #29) and avoid blocking cross-origin auth flows (OAuth, gapi)
  • Replace deprecated keyWindow with webView.window for popup presentation
  • Move decisionHandler(Cancel) outside Trace.isEnabled() block - navigation cancel was silently no-op in production builds without tracing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant