Fix internet permission on android

This commit is contained in:
2023-09-22 19:28:48 +05:30
parent 69856c6083
commit f970f7be13

View File

@@ -1,33 +1,36 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="iiitb_menu" <uses-permission android:name="android.permission.INTERNET" />
android:name="${applicationName}" <application
android:icon="@mipmap/ic_launcher"> android:label="iiitb_menu"
<activity android:name="${applicationName}"
android:name=".MainActivity" android:icon="@mipmap/ic_launcher">
android:exported="true" <activity
android:launchMode="singleTop" android:name=".MainActivity"
android:theme="@style/LaunchTheme" android:exported="true"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:launchMode="singleTop"
android:hardwareAccelerated="true" android:theme="@style/LaunchTheme"
android:windowSoftInputMode="adjustResize"> android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
<!-- Specifies an Android theme to apply to this Activity as soon as android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. --> to determine the Window background behind the Flutter UI. -->
<meta-data <meta-data
android:name="io.flutter.embedding.android.NormalTheme" android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" android:resource="@style/NormalTheme"
/> />
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN"/> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER"/> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
<!-- Don't delete the meta-data below. <!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data <meta-data
android:name="flutterEmbedding" android:name="flutterEmbedding"
android:value="2" /> android:value="2" />
</application>
</application>
</manifest> </manifest>