bad state insecure http is not allowed flutter

132

// In android/app/src/main/AndroidManifest.xml, set usesCleartextTraffic to true.
<application
    ...
    android:usesCleartextTraffic="true"
    ...   >
// Info.plist (IOS / macOS): 
<key>NSAppTransportSecurity</key>
<dict>
  <key>NSAllowsArbitraryLoads</key>
      <true/>
</dict>

Comments

Submit
0 Comments