|
1 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | | - package="com.hoc.node_auth"> |
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. --> |
| 2 | + package="com.hoc.node_auth"> |
| 3 | + |
8 | 4 | <uses-permission android:name="android.permission.INTERNET"/> |
9 | 5 |
|
10 | 6 | <application |
11 | | - android:name="io.flutter.app.FlutterApplication" |
12 | | - android:label="node_auth" |
13 | | - android:requestLegacyExternalStorage="true" |
14 | | - android:icon="@mipmap/ic_launcher"> |
| 7 | + android:label="node_auth" |
| 8 | + android:name="${applicationName}" |
| 9 | + android:icon="@mipmap/ic_launcher"> |
15 | 10 | <activity |
16 | | - android:name=".MainActivity" |
17 | | - android:launchMode="singleTop" |
18 | | - android:theme="@style/LaunchTheme" |
19 | | - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
20 | | - android:hardwareAccelerated="true" |
21 | | - android:windowSoftInputMode="adjustResize"> |
| 11 | + android:name=".MainActivity" |
| 12 | + android:exported="true" |
| 13 | + android:launchMode="singleTop" |
| 14 | + android:theme="@style/LaunchTheme" |
| 15 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 16 | + android:hardwareAccelerated="true" |
| 17 | + android:windowSoftInputMode="adjustResize"> |
22 | 18 | <!-- Specifies an Android theme to apply to this Activity as soon as |
23 | 19 | the Android process has started. This theme is visible to the user |
24 | 20 | while the Flutter UI initializes. After that, this theme continues |
25 | 21 | to determine the Window background behind the Flutter UI. --> |
26 | 22 | <meta-data |
27 | | - android:name="io.flutter.embedding.android.NormalTheme" |
28 | | - android:resource="@style/NormalTheme" |
29 | | - /> |
30 | | - <!-- Displays an Android View that continues showing the launch screen |
31 | | - Drawable until Flutter paints its first frame, then this splash |
32 | | - screen fades out. A splash screen is useful to avoid any visual |
33 | | - gap between the end of Android's launch screen and the painting of |
34 | | - Flutter's first frame. --> |
35 | | - <meta-data |
36 | | - android:name="io.flutter.embedding.android.SplashScreenDrawable" |
37 | | - android:resource="@drawable/launch_background" |
38 | | - /> |
| 23 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 24 | + android:resource="@style/NormalTheme" |
| 25 | + /> |
39 | 26 | <intent-filter> |
40 | 27 | <action android:name="android.intent.action.MAIN"/> |
41 | 28 | <category android:name="android.intent.category.LAUNCHER"/> |
|
44 | 31 | <!-- Don't delete the meta-data below. |
45 | 32 | This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
46 | 33 | <meta-data |
47 | | - android:name="flutterEmbedding" |
48 | | - android:value="2" /> |
| 34 | + android:name="flutterEmbedding" |
| 35 | + android:value="2"/> |
49 | 36 | </application> |
50 | 37 | </manifest> |
0 commit comments