|
8 | 8 | FlutterApplication and put your custom class here. --> |
9 | 9 | <application |
10 | 10 | android:name="${applicationName}" |
11 | | - android:label="flutter_web_auth_2_example" |
12 | | - android:icon="@mipmap/ic_launcher"> |
| 11 | + android:icon="@mipmap/ic_launcher" |
| 12 | + android:label="flutter_web_auth_2_example"> |
13 | 13 | <activity |
14 | 14 | android:name=".MainActivity" |
| 15 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
15 | 16 | android:exported="true" |
| 17 | + android:hardwareAccelerated="true" |
16 | 18 | android:launchMode="singleTop" |
17 | 19 | android:theme="@style/LaunchTheme" |
18 | | - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
19 | | - android:hardwareAccelerated="true" |
20 | 20 | android:windowSoftInputMode="adjustResize"> |
21 | 21 | <!-- Specifies an Android theme to apply to this Activity as soon as |
22 | 22 | the Android process has started. This theme is visible to the user |
23 | 23 | while the Flutter UI initializes. After that, this theme continues |
24 | 24 | to determine the Window background behind the Flutter UI. --> |
25 | 25 | <meta-data |
26 | | - android:name="io.flutter.embedding.android.NormalTheme" |
27 | | - android:resource="@style/NormalTheme" |
28 | | - /> |
| 26 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 27 | + android:resource="@style/NormalTheme" /> |
29 | 28 | <intent-filter> |
30 | 29 | <action android:name="android.intent.action.MAIN" /> |
31 | 30 | <category android:name="android.intent.category.LAUNCHER" /> |
|
43 | 42 |
|
44 | 43 | <data android:scheme="foobar" /> |
45 | 44 | </intent-filter> |
46 | | - <intent-filter> |
47 | | - <action android:name="android.intent.action.SEND" /> |
48 | | - <category android:name="android.intent.category.DEFAULT" /> |
49 | | - <data android:mimeType="text/plain" /> |
50 | | - </intent-filter> |
51 | | - </activity> |
52 | | - <activity android:name="com.linusu.flutter_web_auth_2.AuthenticationManagementActivity"> |
53 | 45 | </activity> |
| 46 | + |
54 | 47 | <!-- Don't delete the meta-data below. |
55 | 48 | This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
56 | 49 | <meta-data |
57 | 50 | android:name="flutterEmbedding" |
58 | 51 | android:value="2" /> |
59 | 52 | </application> |
| 53 | + |
60 | 54 | <!-- Required to query activities that can process text, see: |
61 | 55 | https://developer.android.com/training/package-visibility and |
62 | 56 | https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. |
63 | 57 |
|
64 | 58 | In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> |
65 | 59 | <queries> |
66 | 60 | <intent> |
67 | | - <action android:name="android.intent.action.PROCESS_TEXT"/> |
68 | | - <data android:mimeType="text/plain"/> |
| 61 | + <action android:name="android.intent.action.PROCESS_TEXT" /> |
| 62 | + <data android:mimeType="text/plain" /> |
69 | 63 | </intent> |
70 | 64 | </queries> |
71 | 65 | </manifest> |
0 commit comments