|
1 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2 |
| - xmlns:tools="http://schemas.android.com/tools" |
3 |
| - package="com.crazecoder.openfileexample"> |
4 |
| - |
| 2 | + package="com.example.example"> |
5 | 3 | <!-- The INTERNET permission is required for development. Specifically,
|
6 | 4 | flutter needs it to communicate with the running application
|
7 | 5 | to allow setting breakpoints, to provide hot reload, etc.
|
8 | 6 | -->
|
9 | 7 | <uses-permission android:name="android.permission.INTERNET"/>
|
10 |
| - |
11 |
| - <!-- io.flutter.app.FlutterApplication is an android.app.Application that |
12 |
| - calls FlutterMain.startInitialization(this); in its onCreate method. |
13 |
| - In most cases you can leave this as-is, but you if you want to provide |
14 |
| - additional functionality it is fine to subclass or reimplement |
15 |
| - FlutterApplication and put your custom class here. --> |
16 |
| - <application |
17 |
| - android:name="io.flutter.app.FlutterApplication" |
18 |
| - android:label="open_file_example" |
| 8 | + <application |
| 9 | + android:label="example" |
| 10 | + android:name="${applicationName}" |
19 | 11 | android:icon="@mipmap/ic_launcher">
|
20 | 12 | <activity
|
21 | 13 | android:name=".MainActivity"
|
| 14 | + android:exported="true" |
22 | 15 | android:launchMode="singleTop"
|
23 | 16 | android:theme="@style/LaunchTheme"
|
24 |
| - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density" |
| 17 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
25 | 18 | android:hardwareAccelerated="true"
|
26 | 19 | android:windowSoftInputMode="adjustResize">
|
27 |
| - <!-- This keeps the window background of the activity showing |
28 |
| - until Flutter renders its first frame. It can be removed if |
29 |
| - there is no splash screen (such as the default splash screen |
30 |
| - defined in @style/LaunchTheme). --> |
| 20 | + <!-- Specifies an Android theme to apply to this Activity as soon as |
| 21 | + the Android process has started. This theme is visible to the user |
| 22 | + while the Flutter UI initializes. After that, this theme continues |
| 23 | + to determine the Window background behind the Flutter UI. --> |
31 | 24 | <meta-data
|
32 |
| - android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" |
33 |
| - android:value="true" /> |
| 25 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 26 | + android:resource="@style/NormalTheme" |
| 27 | + /> |
34 | 28 | <intent-filter>
|
35 | 29 | <action android:name="android.intent.action.MAIN"/>
|
36 | 30 | <category android:name="android.intent.category.LAUNCHER"/>
|
37 | 31 | </intent-filter>
|
38 | 32 | </activity>
|
39 |
| - <!--<provider--> |
40 |
| - <!--android:name="androidx.core.content.FileProvider"--> |
41 |
| - <!--android:authorities="${applicationId}.fileProvider"--> |
42 |
| - <!--android:exported="false"--> |
43 |
| - <!--android:grantUriPermissions="true"--> |
44 |
| - <!--tools:replace="android:authorities">--> |
45 |
| - <!--<meta-data--> |
46 |
| - <!--android:name="android.support.FILE_PROVIDER_PATHS"--> |
47 |
| - <!--android:resource="@xml/filepaths"--> |
48 |
| - <!--tools:replace="android:resource" />--> |
49 |
| - <!--</provider>--> |
| 33 | + <!-- Don't delete the meta-data below. |
| 34 | + This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
| 35 | + <meta-data |
| 36 | + android:name="flutterEmbedding" |
| 37 | + android:value="2" /> |
50 | 38 | </application>
|
51 | 39 | </manifest>
|
0 commit comments