|
1 | | -<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | | - package="com.moonwink.treasury"> |
| 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
3 | 2 | <application |
4 | | - android:name="${applicationName}" |
5 | 3 | android:label="upgrader_example" |
| 4 | + android:name="${applicationName}" |
6 | 5 | android:icon="@mipmap/ic_launcher"> |
7 | 6 | <activity |
8 | | - android:name="io.flutter.embedding.android.FlutterActivity" |
| 7 | + android:name=".MainActivity" |
| 8 | + android:exported="true" |
9 | 9 | android:launchMode="singleTop" |
| 10 | + android:taskAffinity="" |
10 | 11 | android:theme="@style/LaunchTheme" |
11 | 12 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
12 | 13 | android:hardwareAccelerated="true" |
|
19 | 20 | android:name="io.flutter.embedding.android.NormalTheme" |
20 | 21 | android:resource="@style/NormalTheme" |
21 | 22 | /> |
22 | | - <!-- Displays an Android View that continues showing the launch screen |
23 | | - Drawable until Flutter paints its first frame, then this splash |
24 | | - screen fades out. A splash screen is useful to avoid any visual |
25 | | - gap between the end of Android's launch screen and the painting of |
26 | | - Flutter's first frame. --> |
27 | | - <meta-data |
28 | | - android:name="io.flutter.embedding.android.SplashScreenDrawable" |
29 | | - android:resource="@drawable/launch_background" |
30 | | - /> |
31 | 23 | <intent-filter> |
32 | 24 | <action android:name="android.intent.action.MAIN"/> |
33 | 25 | <category android:name="android.intent.category.LAUNCHER"/> |
|
39 | 31 | android:name="flutterEmbedding" |
40 | 32 | android:value="2" /> |
41 | 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. --> |
42 | 39 | <queries> |
43 | | - <intent> |
44 | | - <action android:name="android.intent.action.VIEW" /> |
45 | | - <category android:name="android.intent.category.BROWSABLE" /> |
46 | | - <data android:scheme="https" /> |
47 | | - </intent> |
| 40 | + <intent> |
| 41 | + <action android:name="android.intent.action.PROCESS_TEXT"/> |
| 42 | + <data android:mimeType="text/plain"/> |
| 43 | + </intent> |
48 | 44 | </queries> |
49 | 45 | </manifest> |
0 commit comments