Web Browser opens in android but not iOS

Welcome! Forums Unity Plugins In-App Web Browser Web Browser opens in android but not iOS

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #499
    JacobHomanics
    Participant

    Hey just want to say thanks for the plugin, it has been of tremendous help.

    Although I have encountered a weird issue that I was hoping I could get help with.

    The browsers opens fine and the website loads on Android,
    but the browser opens fine and the website DOES NOT load on iOS.

    I will look over the documentation again but I am pretty sure it is setup to work with iOS.

    Thanks!

    #502
    JacobHomanics
    Participant

    I have resolved the issue.

    It seems that iOS dos not support http addresses and will only support https addresses.

    For instance:
    https://www.google.com – will work
    http://www.google.com – will not work

    This is only for iOS though. It works completely fine with http on Android

    For instance:
    https://www.google.com – NOT TESTED
    http://www.google.com – will work

    #532
    PiotrPiotr
    Keymaster

    Not sure what xcode/iOS version are you using but Apple is strongly pushing toward HTTPs usage. It’s something you can modify by tweaking Info.plist file generated by Unity.
    See this SO question: https://stackoverflow.com/questions/30731785/how-do-i-load-an-http-url-with-app-transport-security-enabled-in-ios-9

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.