|
| 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | + package="com.example.myapp"> |
| 3 | + <application |
| 4 | + android:label="myapp" |
| 5 | + android:name="${applicationName}" |
| 6 | + android:icon="@mipmap/ic_launcher"> |
| 7 | + |
| 8 | + <activity |
| 9 | + android:name=".MainActivity" |
| 10 | + android:exported="true" |
| 11 | + android:launchMode="singleTop" |
| 12 | + android:taskAffinity="" |
| 13 | + android:theme="@style/LaunchTheme" |
| 14 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 15 | + android:hardwareAccelerated="true" |
| 16 | + android:windowSoftInputMode="adjustResize"> |
| 17 | + <meta-data |
| 18 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 19 | + android:resource="@style/NormalTheme"/> |
| 20 | + <intent-filter> |
| 21 | + <action android:name="android.intent.action.MAIN"/> |
| 22 | + <category android:name="android.intent.category.LAUNCHER"/> |
| 23 | + </intent-filter> |
| 24 | + </activity> |
| 25 | + |
| 26 | + <!-- Activity aliases for dynamic icons --> |
| 27 | + <activity-alias |
| 28 | + android:label="app" |
| 29 | + android:icon="@drawable/iconone" |
| 30 | + android:name=".IconOne" |
| 31 | + android:enabled="false" |
| 32 | + android:exported="true" |
| 33 | + android:targetActivity=".MainActivity"> |
| 34 | + <intent-filter> |
| 35 | + <action android:name="android.intent.action.MAIN"/> |
| 36 | + <category android:name="android.intent.category.LAUNCHER"/> |
| 37 | + </intent-filter> |
| 38 | + </activity-alias> |
| 39 | + <activity-alias |
| 40 | + android:label="app" |
| 41 | + android:icon="@drawable/icontwo" |
| 42 | + android:name=".IconTwo" |
| 43 | + android:enabled="false" |
| 44 | + android:exported="true" |
| 45 | + android:targetActivity=".MainActivity"> |
| 46 | + <intent-filter> |
| 47 | + <action android:name="android.intent.action.MAIN"/> |
| 48 | + <category android:name="android.intent.category.LAUNCHER"/> |
| 49 | + </intent-filter> |
| 50 | + </activity-alias> |
| 51 | + |
| 52 | + <!-- Don't delete the meta-data below. --> |
| 53 | + <meta-data |
| 54 | + android:name="flutterEmbedding" |
| 55 | + android:value="2" /> |
| 56 | + </application> |
| 57 | + |
| 58 | + <!-- Required to query activities that can process text --> |
| 59 | + <queries> |
| 60 | + <intent> |
| 61 | + <action android:name="android.intent.action.PROCESS_TEXT"/> |
| 62 | + <data android:mimeType="text/plain"/> |
| 63 | + </intent> |
| 64 | + </queries> |
| 65 | +</manifest> |
0 commit comments