Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set
NSAllowsArbitraryLoads
to false by default in template (#28885)
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: #28885 Differential Revision: D21624042 Pulled By: shergin fbshipit-source-id: 690afcd037c3f328d293ef4475380a28efd9fee6
- Loading branch information