dpogue commented on issue #1261:
URL: https://github.com/apache/cordova-ios/issues/1261#issuecomment-2543032502

   Having looked into this a bit more, it appears to be the intended behaviour 
when App-Bound Domains are involved.
   
   From https://webkit.org/blog/10882/app-bound-domains/ (emphasis mine):
   > Due to the asynchronous nature of the web, a SocialApp developer could see 
different errors if trying to use restricted APIs and navigate to non app-bound 
domains in the same `WKWebView`. If a `WKWebView` in SocialApp uses a 
restricted API before any navigations occur, and then tries to navigate to a 
domain outside of the set of “app-bound” domains, the navigation will fail with 
the error “App-bound domain failure.” **Conversely, if SocialApp first 
navigates to a non-app-bound domain then tries to use a restricted API, the API 
call will fail.**
   
   I don't think there's anything Cordova can do here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to