How can i add these statements in app.json?

Viewed 1205

I want to allow HTTP traffic in my app using the expo-managed workflow. What is the way to add these statements to the app.json file?

<manifest ...>
  <uses-permission android:name="android.permission.INTERNET" />
  <application
    android:name=".MainApplication"
    android:usesCleartextTraffic="true"
    android:networkSecurityConfig="@xml/network_security_config"
  ...>
    <activity android:name=".MainActivity" ...>
      ...
    </activity>
  </application>
</manifest>
0 Answers
Related