AndroidManifest.xml 1.36 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="com.example.view">
7 8 9 10 11 12

    <!-- The INTERNET permission is required for development. Specifically, flutter needs it to communicate with the running application
         to allow setting breakpoints, to provide hot reload, etc.
    -->
    <uses-permission android:name="android.permission.INTERNET"/>

13
    <application android:label="flutter_view" android:icon="@mipmap/ic_launcher">
14 15 16
        <activity android:name=".MainActivity"
                  android:launchMode="singleTop"
                  android:theme="@style/Theme.AppCompat"
17
                  android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
18 19 20 21 22 23 24
                  android:hardwareAccelerated="true"
                  android:windowSoftInputMode="adjustResize">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
25 26 27
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
28 29
    </application>
</manifest>