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

Only Secure links load into WebView #214

Closed
jrmarkham opened this issue Oct 27, 2018 · 4 comments
Closed

Only Secure links load into WebView #214

jrmarkham opened this issue Oct 27, 2018 · 4 comments

Comments

@jrmarkham
Copy link

It seems that only secure urls will load. The good news is that just adding an "s" to http does the trick.

I tested this on scaffold and launch

ie:
http://mega.markhamenterprises.com (won't load)
https://mega.markhamenterprises.com (will load)

@vanelizarov
Copy link

vanelizarov commented Nov 1, 2018

@jrmarkham Faced the same issue. Try setting up NSAppTransportSecurity like below in iOS' Info.plist. It helped in my situation

<key>NSAppTransportSecurity</key>
  <dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
    <key>NSExceptionDomains</key>
    <dict>
      <key>mydomain.ru</key>
      <dict>
        <key>NSExceptionAllowsInsecureHTTPLoads</key>
        <true/>
        <key>NSIncludesSubdomains</key>
        <true/>
      </dict>
    </dict>
  </dict>

@jrmarkham
Copy link
Author

That did it-- thanks.

@jjjachyty
Copy link

if android how to do

@charafau
Copy link
Collaborator

it shouldn't be an issue on Android

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

4 participants