AndroidManifest.xml.tmpl 1.67 KB
Newer Older
1
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
    package="{{androidIdentifier}}"
3 4 5
    android:versionCode="1"
    android:versionName="0.0.1">

6
    <uses-sdk android:minSdkVersion="{{androidMinApiLevel}}" android:targetSdkVersion="21" />
7 8 9 10

    <!-- 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.
    -->
11 12
    <uses-permission android:name="android.permission.INTERNET"/>

13 14 15 16 17 18 19
    <!-- io.flutter.app.FlutterApplication is an android.app.Application that
         calls FlutterMain.startInitialization(this); in its onCreate method.
         In most cases you can leave this as-is, but you if you want to provide
         additional functionality it is fine to subclass or reimplement
         FlutterApplication and put your custom class here. -->
    <application android:name="io.flutter.app.FlutterApplication" android:label="{{projectName}}" android:icon="@mipmap/ic_launcher">
        <activity android:name="io.flutter.app.FlutterActivity"
20
                  android:launchMode="singleTop"
21 22 23 24 25 26 27 28 29 30 31
                  android:theme="@android:style/Theme.Black.NoTitleBar"
                  android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection"
                  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>
    </application>
</manifest>