Android

Add the following permission to the AndroidManifest.xml file just after the
<application> definition. The AndroidManifest.xml file is found at
<project root>/android/app/src/main/AndroidManifest.xml.

<manifest

xmlns:android=

"http://schemas.android.com/apk/res/android"

<application

...

</application>

<uses-permission

android:name=

"android.permission.INTERNET"

/>

</manifest>

iOS

For iOS, add the following to the Info.plist file found at
<project root>/ios/Runner/Info.plist.

<key>NSAppTransportSecurity

</key>

<dict>

<key>NSAllowsArbitraryLoads