Last active
August 1, 2021 05:58
-
-
Save mealCode/abedc4fc105e2a3669f5676aa7f02dad to your computer and use it in GitHub Desktop.
react native no bundle URL present
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This problem happens when you not allow unsecure connections via localhost, or maybe you tried to accept unsecure connections via http. | |
To fix this, add this on `info.plist`: | |
<key>NSAppTransportSecurity</key> | |
<dict> | |
<key>NSAllowsArbitraryLoads</key> | |
<true/> | |
<key>NSAllowsArbitraryLoadsInWebContent</key> | |
<true/> | |
<key>NSAllowsLocalNetworking</key> | |
<true/> | |
</dict> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment