React Native iOS: The resource could not be loaded because the app transport security policy requires the use of a secure connection

19 October 2015

Latest iOS blocks cleartext HTTP (http://) resource load since it is insecure. For development purpose, it can be disabled:

Adding the following to project Info.plist to disable ATS(Application Transport Security):


react-native #1563

下一篇: [Github实例]使用React, React Native和Redux实现跨平台共用Web, iOS, Android的核心代码 →

blog comments powered by Disqus