insecure http is not allowed by platform flutter ios code example
Example: 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>