7b61a968fd
Summary: Since we already have `localhost` as`Exception Domains` in NSAppTransportSecurity to allow connect to dev server, the template should set `NSAllowsArbitraryLoads` to false by default, as exaplained in [Apple's document](https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity/nsallowsarbitraryloads) as a good practice. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [iOS] [enhancement] - set `NSAllowsArbitraryLoads` to `false` by default in template Pull Request resolved: https://github.com/facebook/react-native/pull/28885 Differential Revision: D21624042 Pulled By: shergin fbshipit-source-id: 690afcd037c3f328d293ef4475380a28efd9fee6 |
||
---|---|---|
.. | ||
Images.xcassets | ||
AppDelegate.h | ||
AppDelegate.m | ||
Info.plist | ||
LaunchScreen.storyboard | ||
main.m |