0

Not able to request on custom protocol from an HTTPS website running inside WKWebview, trying to load glb file. It's working for .png file, so I suspect it's because of the browser is blocking a request on non-HTTPS URL from a HTTPS site.

Error

[Warning] [blocked] The page at https://abc.xyz.in/something/0 was not allowed to display insecure content from customsource://something.cloudfront.net/assets/models/something.glb. (ff8f759459f7.js, line 2)

tried the following config

App Transport Security Settings
-Allow Arbitrary Loads = YES
-Allow Arbitrary Loads in Web Content = YES
Tripurari Shankar
  • 3,308
  • 1
  • 15
  • 24
  • Does this answer your question? [WKWebview \[Warning\] \[blocked\] The page at https://www.myurl.com was not allowed to display insecure content from mycustomscheme://?path=somepath](https://stackoverflow.com/questions/54773828/wkwebview-warning-blocked-the-page-at-https-www-myurl-com-was-not-allowed) – timbre timbre Jun 02 '23 at 17:32
  • @timbretimbre I tried it but does not work – Tripurari Shankar Jun 03 '23 at 11:35

0 Answers0