Skip to content

Commit b88b3e8

Browse files
committed
adjuste manifext for sample
1 parent bcdcde2 commit b88b3e8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

example/android/app/src/debug/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
-->
55

66
<uses-permission android:name="android.permission.INTERNET"/>
7-
<application android:label="com.example.flagship_qa" android:icon="@mipmap/ic_launcher">
8-
<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" android:usesCleartextTraffic="false" >
7+
<application android:label="com.example.flagship_qa" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="false">
8+
<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">
99

1010
<intent-filter>
1111
<action android:name="android.intent.action.MAIN" />

example/android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
22
<uses-permission android:name="android.permission.INTERNET" />
3-
<application android:label="com.example.flagship_qa" android:icon="@mipmap/ic_launcher">
3+
<application android:label="com.example.flagship_qa" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="false">
44
<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"
5-
android:exported="true">
5+
android:exported="true" >
66
<!-- Specifies an Android theme to apply to this Activity as soon as
77
the Android process has started. This theme is visible to the user
88
while the Flutter UI initializes. After that, this theme continues

0 commit comments

Comments
 (0)