|
1 | | -<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | | - package="com.example.example"> |
3 | | - |
4 | | - <!-- The INTERNET permission is required for development. Specifically, |
5 | | - flutter needs it to communicate with the running application |
6 | | - to allow setting breakpoints, to provide hot reload, etc. |
7 | | - --> |
8 | | - <uses-permission android:name="android.permission.INTERNET" /> |
9 | | - |
10 | | - <!-- io.flutter.app.FlutterApplication is an android.app.Application that |
11 | | - calls FlutterMain.startInitialization(this); in its onCreate method. |
12 | | - In most cases you can leave this as-is, but you if you want to provide |
13 | | - additional functionality it is fine to subclass or reimplement |
14 | | - FlutterApplication and put your custom class here. --> |
| 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
15 | 2 | <application |
16 | | - android:icon="@mipmap/ic_launcher" |
17 | | - android:label="example"> |
| 3 | + android:label="license_generator_example" |
| 4 | + android:name="${applicationName}" |
| 5 | + android:icon="@mipmap/ic_launcher"> |
18 | 6 | <activity |
19 | 7 | android:name=".MainActivity" |
20 | | - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density" |
21 | | - android:hardwareAccelerated="true" |
| 8 | + android:exported="true" |
22 | 9 | android:launchMode="singleTop" |
| 10 | + android:taskAffinity="" |
23 | 11 | android:theme="@style/LaunchTheme" |
| 12 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 13 | + android:hardwareAccelerated="true" |
24 | 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. --> |
25 | 19 | <meta-data |
26 | | - android:name="io.flutter.embedding.android.SplashScreenDrawable" |
27 | | - android:resource="@drawable/launch_background" /> |
28 | | - |
29 | | - <meta-data |
30 | | - android:name="io.flutter.embedding.android.NormalTheme" |
31 | | - android:resource="@style/NormalTheme" /> |
32 | | - |
| 20 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 21 | + android:resource="@style/NormalTheme" |
| 22 | + /> |
33 | 23 | <intent-filter> |
34 | | - <action android:name="android.intent.action.MAIN" /> |
35 | | - <category android:name="android.intent.category.LAUNCHER" /> |
| 24 | + <action android:name="android.intent.action.MAIN"/> |
| 25 | + <category android:name="android.intent.category.LAUNCHER"/> |
36 | 26 | </intent-filter> |
37 | 27 | </activity> |
38 | | - |
| 28 | + <!-- Don't delete the meta-data below. |
| 29 | + This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
39 | 30 | <meta-data |
40 | 31 | android:name="flutterEmbedding" |
41 | 32 | android:value="2" /> |
42 | 33 | </application> |
| 34 | + <!-- Required to query activities that can process text, see: |
| 35 | + https://developer.android.com/training/package-visibility and |
| 36 | + https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. |
| 37 | +
|
| 38 | + In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> |
| 39 | + <queries> |
| 40 | + <intent> |
| 41 | + <action android:name="android.intent.action.PROCESS_TEXT"/> |
| 42 | + <data android:mimeType="text/plain"/> |
| 43 | + </intent> |
| 44 | + </queries> |
43 | 45 | </manifest> |
0 commit comments