mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix warning in `flutter create`d project ("package attribute is deprecated" in AndroidManifest)
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<!-- 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. -->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<!-- 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"/>
|
|
|
|
<application android:label="flutter_view" android:icon="@mipmap/ic_launcher">
|
|
<activity android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/Theme.AppCompat"
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
|
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>
|
|
<meta-data
|
|
android:name="flutterEmbedding"
|
|
android:value="2" />
|
|
</application>
|
|
</manifest>
|