Tonis
Tonis

Reputation: 121

Flutter iOS appclip can't connect to internet

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

Answers (1)

Punam Panchbhai
Punam Panchbhai

Reputation: 31

try this , add in info.plist file

   <key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

Upvotes: 0

Related Questions