Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webview with iframe are not working #76

Open
juliengit2 opened this issue Apr 4, 2019 · 0 comments
Open

Webview with iframe are not working #76

juliengit2 opened this issue Apr 4, 2019 · 0 comments

Comments

@juliengit2
Copy link

juliengit2 commented Apr 4, 2019

The webview cannot load the content of an iframe (webview display blank), and I get the following error :

The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)

I try many things, including added in the Info.plist :

 <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
        <key>NSAllowsArbitraryLoadsForMedia</key>
        <true/>
        <key>NSAllowsArbitraryLoadsInWebContent</key>
        <true/>
        <key>NSExceptionAllowsInsecureHTTPLoads</key>
        <true/>
        <key>NSThirdPartyExceptionAllowsInsecureHTTPLoads</key>
        <true/>
        <key>NSTemporaryExceptionRequiresForwardSecrecy</key>
        <false/>
    </dict>

it works with a simulator but not with a release build on a real device... and it's very annoying... :((

other info :

the file I'm trying to load is a local html.

The file exist (I can read it), but I cannot use LoadFile (and initialFile) because files are not known in advance and consequently cannot add them in pubspec.yaml (required by this method, otherwise files cannot be found).

I tried also Loadurl (with initialUrl) and calling file:https:/// but it works only on android and on ios simulator, but not on ios with a real device (logs show the error above). and it's really really annoying... :(((

Any idea?

This was referenced Jul 6, 2020
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

No branches or pull requests

1 participant