|
1 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2 | 2 | package="com.example.example">
|
3 |
| - <!-- io.flutter.app.FlutterApplication is an android.app.Application that |
4 |
| - calls FlutterMain.startInitialization(this); in its onCreate method. |
5 |
| - In most cases you can leave this as-is, but you if you want to provide |
6 |
| - additional functionality it is fine to subclass or reimplement |
7 |
| - FlutterApplication and put your custom class here. --> |
8 |
| - <uses-permission android:name="android.permission.INTERNET" /> |
9 |
| - <application |
10 |
| - android:name="io.flutter.app.FlutterApplication" |
| 3 | + <application |
11 | 4 | android:label="example"
|
| 5 | + android:name="${applicationName}" |
12 | 6 | android:icon="@mipmap/ic_launcher">
|
13 | 7 | <activity
|
14 | 8 | android:name=".MainActivity"
|
| 9 | + android:exported="true" |
15 | 10 | android:launchMode="singleTop"
|
16 | 11 | android:theme="@style/LaunchTheme"
|
17 | 12 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
18 | 13 | android:hardwareAccelerated="true"
|
19 | 14 | android:windowSoftInputMode="adjustResize">
|
| 15 | + <!-- Specifies an Android theme to apply to this Activity as soon as |
| 16 | + the Android process has started. This theme is visible to the user |
| 17 | + while the Flutter UI initializes. After that, this theme continues |
| 18 | + to determine the Window background behind the Flutter UI. --> |
| 19 | + <meta-data |
| 20 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 21 | + android:resource="@style/NormalTheme" |
| 22 | + /> |
20 | 23 | <intent-filter>
|
21 | 24 | <action android:name="android.intent.action.MAIN"/>
|
22 | 25 | <category android:name="android.intent.category.LAUNCHER"/>
|
|
0 commit comments