|
1 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
2 | | - <uses-permission android:name="android.permission.INTERNET"></uses-permission> |
3 | | - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission> |
4 | | - <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"></uses-permission> |
5 | | - <!-- io.flutter.app.FlutterApplication is an android.app.Application that |
6 | | - calls FlutterMain.startInitialization(this); in its onCreate method. |
7 | | - In most cases you can leave this as-is, but you if you want to provide |
8 | | - additional functionality it is fine to subclass or reimplement |
9 | | - FlutterApplication and put your custom class here. --> |
10 | 2 | <application |
11 | 3 | android:label="Syncfusion Flutter UI Widgets" |
| 4 | + android:name="${applicationName}" |
12 | 5 | android:icon="@mipmap/ic_launcher"> |
13 | | - <meta-data |
14 | | - android:name="flutterEmbedding" |
15 | | - android:value="2" /> |
16 | | - <provider |
17 | | - android:name="androidx.core.content.FileProvider" |
18 | | - android:authorities="${applicationId}.fileProvider" |
19 | | - android:grantUriPermissions="true"> |
20 | | - <meta-data |
21 | | - android:name="android.support.FILE_PROVIDER_PATHS" |
22 | | - android:resource="@xml/provider_path"/> |
23 | | - </provider> |
24 | 6 | <activity |
25 | 7 | android:name=".MainActivity" |
26 | 8 | android:exported="true" |
27 | 9 | android:launchMode="singleTop" |
| 10 | + android:taskAffinity="" |
28 | 11 | android:theme="@style/LaunchTheme" |
29 | | - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 12 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
30 | 13 | android:hardwareAccelerated="true" |
31 | 14 | android:windowSoftInputMode="adjustResize"> |
32 | | - <!-- This keeps the window background of the activity showing |
33 | | - until Flutter renders its first frame. It can be removed if |
34 | | - there is no splash screen (such as the default splash screen |
35 | | - defined in @style/LaunchTheme). --> |
| 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. --> |
36 | 19 | <meta-data |
37 | | - android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" |
38 | | - android:value="true" /> |
| 20 | + android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" |
| 21 | + android:value="true" /> |
39 | 22 | <intent-filter> |
40 | 23 | <action android:name="android.intent.action.MAIN"/> |
41 | 24 | <category android:name="android.intent.category.LAUNCHER"/> |
42 | 25 | </intent-filter> |
43 | 26 | </activity> |
| 27 | + <!-- Don't delete the meta-data below. |
| 28 | + This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
| 29 | + <meta-data |
| 30 | + android:name="flutterEmbedding" |
| 31 | + android:value="2" /> |
| 32 | + <provider |
| 33 | + android:name="androidx.core.content.FileProvider" |
| 34 | + android:authorities="${applicationId}.fileProvider" |
| 35 | + android:grantUriPermissions="true"> |
| 36 | + <meta-data |
| 37 | + android:name="android.support.FILE_PROVIDER_PATHS" |
| 38 | + android:resource="@xml/provider_path"/> |
| 39 | + </provider> |
44 | 40 | </application> |
| 41 | + <!-- Required to query activities that can process text, see: |
| 42 | + https://developer.android.com/training/package-visibility and |
| 43 | + https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. |
| 44 | +
|
| 45 | + In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> |
| 46 | + <queries> |
| 47 | + <intent> |
| 48 | + <action android:name="android.intent.action.PROCESS_TEXT"/> |
| 49 | + <data android:mimeType="text/plain"/> |
| 50 | + </intent> |
| 51 | + </queries> |
45 | 52 | </manifest> |
0 commit comments