flutter add internet permission ios code example

Example 1: internet permission in flutter

In the AndroidManifest.xml file located at android/app/src/main you need to add this permission inside the manifest tag.

<uses-permission android:name="android.permission.INTERNET"/>

Example 2: flutter add ios permissions

<key>NSLocationWhenInUseUsageDescription</key>
<string>This app needs access to location in the background.</string>    
<key>NSLocationAlwaysUsageDescription</key>
<string>This app needs access to location when in the background.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>This app needs access to location when open and in the background.</string>

Tags:

Misc Example