Reputation: 161
Im trying to configure the app.json before publishing the app to store, but I cant find any info how to allow HTTP traffic for Android and Ios. Can someone help me please??
Upvotes: 1
Views: 2072
Reputation: 7203
For IOS add below code in your info.plist :
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
For Android add the below code in your application tag of the AndroidManifest.xml file
android:usesCleartextTraffic="true"
Upvotes: 1