Skip to content

Commit 58bcfda

Browse files
committed
feat: Added HTTP Permission
1 parent d75d38d commit 58bcfda

File tree

1 file changed

+17
-32
lines changed

1 file changed

+17
-32
lines changed
Lines changed: 17 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,26 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.weatherbi">
3-
<application
4-
android:label="weatherbi"
5-
android:icon="@mipmap/ic_launcher">
6-
<activity
7-
android:name=".MainActivity"
8-
android:launchMode="singleTop"
9-
android:theme="@style/LaunchTheme"
10-
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
11-
android:hardwareAccelerated="true"
12-
android:windowSoftInputMode="adjustResize">
13-
<!-- Specifies an Android theme to apply to this Activity as soon as
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.weatherbi">
2+
<uses-permission android:name="android.permission.INTERNET" /> <!-- This Line -->
3+
4+
<application android:label="weatherbi" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true">
5+
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
6+
<!-- Specifies an Android theme to apply to this Activity as soon as
147
the Android process has started. This theme is visible to the user
158
while the Flutter UI initializes. After that, this theme continues
169
to determine the Window background behind the Flutter UI. -->
17-
<meta-data
18-
android:name="io.flutter.embedding.android.NormalTheme"
19-
android:resource="@style/NormalTheme"
20-
/>
21-
<!-- Displays an Android View that continues showing the launch screen
10+
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
11+
<!-- Displays an Android View that continues showing the launch screen
2212
Drawable until Flutter paints its first frame, then this splash
2313
screen fades out. A splash screen is useful to avoid any visual
2414
gap between the end of Android's launch screen and the painting of
2515
Flutter's first frame. -->
26-
<meta-data
27-
android:name="io.flutter.embedding.android.SplashScreenDrawable"
28-
android:resource="@drawable/launch_background"
29-
/>
30-
<intent-filter>
31-
<action android:name="android.intent.action.MAIN"/>
32-
<category android:name="android.intent.category.LAUNCHER"/>
33-
</intent-filter>
34-
</activity>
35-
<!-- Don't delete the meta-data below.
16+
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" />
17+
<intent-filter>
18+
<action android:name="android.intent.action.MAIN" />
19+
<category android:name="android.intent.category.LAUNCHER" />
20+
</intent-filter>
21+
</activity>
22+
<!-- Don't delete the meta-data below.
3623
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
37-
<meta-data
38-
android:name="flutterEmbedding"
39-
android:value="2" />
40-
</application>
24+
<meta-data android:name="flutterEmbedding" android:value="2" />
25+
</application>
4126
</manifest>

0 commit comments

Comments
 (0)