Reputation: 121
My flutter appclip cant make any server requests, doesn't matter what URL I call
it fails with Unhandled Exception: SocketException: OS Error: No route to host,
Same app, running in normal app mode (target is Runner not appclip), can make server requests fine.
Any suggestions what might be wrong?
Upvotes: 0
Views: 26
Reputation: 31
try this , add in info.plist file
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
Upvotes: 0