JSMessageExample icon indicating copy to clipboard operation
JSMessageExample copied to clipboard

Not working on ios 9?

Open ianfbrown opened this issue 9 years ago • 2 comments

Using xcode 7.0, this project works fine in the simulator for ios 8.1 (iPad 2), but after the splash screen it gets stuck with a white screen for the simulator for ios 9.0 (iPad 2), and for a physical iPad Mini 2 running ios 9.0.1. Any idea where to start looking? Thanks, Ian.

ianfbrown avatar Sep 26 '15 15:09 ianfbrown

App Transport Security prevents loading non-HTTPS resources. I'm looking into how to disable that for this project or serve it over HTTPS.

joshkehn avatar Sep 26 '15 23:09 joshkehn

Excellent, yes as a quick fix, you can disable App Transport Security, and get everything up and running again, by adding the following to the Info.plist

<key>NSAppTransportSecurity</key>
<dict>
  <!--Include to allow all connections (DANGER)-->
  <key>NSAllowsArbitraryLoads</key>
      <true/>
</dict>

as described at http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/

But this is not recommended practice.

ianfbrown avatar Sep 27 '15 21:09 ianfbrown