AndroidManifest.xml 2.02 KB
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1 2 3 4
<!-- Copyright 2014 The Flutter Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->

5
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
6
    package="io.flutter.integration.platformviews">
7

8
    <uses-permission android:name="android.permission.INTERNET" />
9 10 11
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <application
12
        android:name="${applicationName}"
13
        android:label="platform_views">
14
        <activity
15
            android:exported="true"
16 17 18 19 20 21 22 23 24
            android:name=".MainActivity"
            android:launchMode="singleTop"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <meta-data
                android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
                android:value="true" />
            <intent-filter>
25 26
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
27 28
            </intent-filter>
        </activity>
29 30 31 32 33
    <!-- Don't delete the meta-data below.
         This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
34
    </application>
35 36 37 38 39 40 41 42 43 44 45
    <!-- Required to query activities that can process text, see:
         https://developer.android.com/training/package-visibility?hl=en and
         https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.

         In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
    <queries>
        <intent>
            <action android:name="android.intent.action.PROCESS_TEXT"/>
            <data android:mimeType="text/plain"/>
        </intent>
    </queries>
46
</manifest>