|
1 |
| -<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 |
| - package="com.thealphamerc.flutter_twitter_clone"> |
3 |
| - |
4 |
| - <!-- io.flutter.app.FlutterApplication is an android.app.Application that |
5 |
| - calls FlutterMain.startInitialization(this); in its onCreate method. |
6 |
| - In most cases you can leave this as-is, but you if you want to provide |
7 |
| - additional functionality it is fine to subclass or reimplement |
8 |
| - FlutterApplication and put your custom class here. --> |
| 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
9 | 2 | <uses-permission android:name="android.permission.INTERNET"/>
|
10 | 3 | <uses-permission android:name="android.permission.CAMERA"/>
|
11 | 4 | <application
|
12 | 5 | android:label="Fwitter"
|
| 6 | + android:name="${applicationName}" |
13 | 7 | android:icon="@mipmap/ic_launcher"
|
14 |
| - android:usesCleartextTraffic="true" |
15 |
| - > |
| 8 | + android:usesCleartextTraffic="true"> |
16 | 9 | <activity
|
17 | 10 | android:name=".MainActivity"
|
| 11 | + android:exported="true" |
18 | 12 | android:launchMode="singleTop"
|
19 | 13 | android:theme="@style/LaunchTheme"
|
20 | 14 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
21 | 15 | android:hardwareAccelerated="true"
|
22 | 16 | android:windowSoftInputMode="adjustResize">
|
23 |
| - <!-- Specifies an Android theme to apply to this Activity as soon as |
| 17 | + <!-- Specifies an Android theme to apply to this Activity as soon as |
24 | 18 | the Android process has started. This theme is visible to the user
|
25 | 19 | while the Flutter UI initializes. After that, this theme continues
|
26 | 20 | to determine the Window background behind the Flutter UI. -->
|
27 | 21 | <meta-data
|
28 | 22 | android:name="io.flutter.embedding.android.NormalTheme"
|
29 | 23 | android:resource="@style/NormalTheme"
|
30 | 24 | />
|
31 |
| - <!-- Displays an Android View that continues showing the launch screen |
32 |
| - Drawable until Flutter paints its first frame, then this splash |
33 |
| - screen fades out. A splash screen is useful to avoid any visual |
34 |
| - gap between the end of Android's launch screen and the painting of |
35 |
| - Flutter's first frame. --> |
36 |
| - <meta-data |
37 |
| - android:name="io.flutter.embedding.android.SplashScreenDrawable" |
38 |
| - android:resource="@drawable/launch_background" |
39 |
| - /> |
40 | 25 | <meta-data android:name="io.flutter.network-policy"
|
41 | 26 | android:resource="@xml/network_security_config"/>
|
42 | 27 | <intent-filter>
|
|
50 | 35 | android:name="flutterEmbedding"
|
51 | 36 | android:value="2" />
|
52 | 37 | </application>
|
| 38 | + <!-- Required to query activities that can process text, see: |
| 39 | + https://developer.android.com/training/package-visibility?hl=en and |
| 40 | + https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. |
| 41 | +
|
| 42 | + In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> |
| 43 | + <queries> |
| 44 | + <intent> |
| 45 | + <action android:name="android.intent.action.PROCESS_TEXT"/> |
| 46 | + <data android:mimeType="text/plain"/> |
| 47 | + </intent> |
| 48 | + </queries> |
53 | 49 | </manifest>
|
0 commit comments