When your app has a feature that requires to access the internet, you need to add extra permission in androidManifest.xml. Otherwise, the application will fail when loading to the internet connection part.
What you need to do is to add this line to AndroidManifest.xml file.
<uses-permission android:name="android.permission.INTERNET" />
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.tltemplates.awesome"> <uses-permission android:name="android.permission.INTERNET" /> <application android:name="io.flutter.app.FlutterApplication" android:label="awesome" android:icon="@mipmap/ic_launcher"> </application> </manifest>
By adding this permission, your app can use the internet to perform various tasks such as accessing web content, downloading data, and sending/receiving network requests. It’s important to note that by adding this permission, your app can potentially access sensitive user data over the internet, so it’s important to use this permission judiciously and only when necessary.