Answers for "flutter Insecure HTTP is not allowed by platform"

4

flutter Insecure HTTP is not allowed by platform

// 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>
Posted by: Guest on May-23-2021

Code answers related to "flutter Insecure HTTP is not allowed by platform"

Code answers related to "Dart"

Browse Popular Code Answers by Language