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

Closed
juliengit2 opened this issue Apr 4, 2019 · 2 comments
Closed

Webview with iframe are not working #76

juliengit2 opened this issue Apr 4, 2019 · 2 comments
Labels

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:/// 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
Copy link

github-actions bot commented Oct 7, 2024

This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.

@github-actions github-actions bot added the stale label Oct 7, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2024
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant