|
1 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | | - package="com.example.FlutterWeather"> |
3 | | - <uses-permission android:name="android.permission.INTERNET"/> |
4 | | - <!-- io.flutter.app.FlutterApplication is an android.app.Application that |
5 | | - calls FlutterMain.startInitialization(this); in its onCreate method. |
6 | | - In most cases you can leave this as-is, but you if you want to provide |
7 | | - additional functionality it is fine to subclass or reimplement |
8 | | - FlutterApplication and put your custom class here. --> |
9 | | - <application |
10 | | - android:name="io.flutter.app.FlutterApplication" |
11 | | - android:label="FlutterWeather" |
| 2 | + package="com.example.flutter_weather"> |
| 3 | + <application |
| 4 | + android:label="flutter_weather" |
| 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" |
|
25 | 20 | android:name="io.flutter.embedding.android.NormalTheme" |
26 | 21 | android:resource="@style/NormalTheme" |
27 | 22 | /> |
28 | | - <!-- Displays an Android View that continues showing the launch screen |
29 | | - Drawable until Flutter paints its first frame, then this splash |
30 | | - screen fades out. A splash screen is useful to avoid any visual |
31 | | - gap between the end of Android's launch screen and the painting of |
32 | | - Flutter's first frame. --> |
33 | | - <meta-data |
34 | | - android:name="io.flutter.embedding.android.SplashScreenDrawable" |
35 | | - android:resource="@drawable/launch_background" |
36 | | - /> |
37 | 23 | <intent-filter> |
38 | 24 | <action android:name="android.intent.action.MAIN"/> |
39 | 25 | <category android:name="android.intent.category.LAUNCHER"/> |
|
45 | 31 | android:name="flutterEmbedding" |
46 | 32 | android:value="2" /> |
47 | 33 | </application> |
48 | | - |
49 | 34 | </manifest> |
0 commit comments