AndroidManifest.xml
1 <manifest xmlns:android="http://schemas.android.com/apk/res/android"> 2 <application 3 android:label="amaze" 4 android:name="${applicationName}" 5 android:icon="@mipmap/launcher_icon"> 6 <activity 7 android:name=".MainActivity" 8 android:exported="true" 9 android:launchMode="singleTop" 10 android:theme="@style/LaunchTheme" 11 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" 12 android:hardwareAccelerated="true" 13 android:windowSoftInputMode="adjustResize"> 14 <!-- Specifies an Android theme to apply to this Activity as soon as 15 the Android process has started. This theme is visible to the user 16 while the Flutter UI initializes. After that, this theme continues 17 to determine the Window background behind the Flutter UI. --> 18 <meta-data 19 android:name="io.flutter.embedding.android.NormalTheme" 20 android:resource="@style/NormalTheme" 21 /> 22 <intent-filter> 23 <action android:name="android.intent.action.MAIN"/> 24 <category android:name="android.intent.category.LAUNCHER"/> 25 </intent-filter> 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 </application> 33 <!-- Required to query activities that can process text, see: 34 https://developer.android.com/training/package-visibility?hl=en and 35 https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. 36 37 In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> 38 <queries> 39 <intent> 40 <action android:name="android.intent.action.PROCESS_TEXT"/> 41 <data android:mimeType="text/plain"/> 42 </intent> 43 </queries> 44 </manifest>