9

I have searched but couldn't find any information about IOS ,

On android to have access to the internet i have to add this key :

uses-permission android:name="android.permission.INTERNET" 

to the AndroidManifest.xml.

On IOS , the any confuguration need to be add to Info.plist ?

Thank you Roque

JideGuru
  • 7,102
  • 6
  • 26
  • 48
Antonio Roque
  • 165
  • 2
  • 3
  • 12
  • 3
    You do not need to add anything to the info.plist – JideGuru Jul 22 '20 at 11:33
  • 1
    No configuration needed for iOS. Regarding to @CopsOnRoad on https://stackoverflow.com/questions/55603979/why-flutter-application-cant-connect-to-internet-when-install-app-release-apk – Mansur Jul 22 '20 at 11:33

1 Answers1

11

Add the following in info.plist file.

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

Doing this, resolved the issue for me

The Codepreneur
  • 236
  • 3
  • 12
Zoul Barizi
  • 369
  • 3
  • 12