Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

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>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flutter #Insecure #HTTP #allowed #platform
ADD COMMENT
Topic
Name
5+8 =