Android manifest
This commit is contained in:
parent
3e4a3748cb
commit
9d3169b783
|
|
@ -1,5 +1,14 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
<!-- {% for p in cookiecutter.options.android_permissions %} -->
|
||||
<uses-permission android:name="{{ p }}" />
|
||||
<!-- {% endfor %} -->
|
||||
|
||||
<!-- {% for k, v in cookiecutter.options.android_features %} -->
|
||||
<uses-feature android:name="{{ k }}" android:required="{{ v }}" />
|
||||
<!-- {% endfor %} -->
|
||||
|
||||
<!-- Media access permissions.
|
||||
Android 13 or higher.
|
||||
https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions -->
|
||||
|
|
@ -26,8 +35,8 @@
|
|||
android:enableOnBackInvokedCallback="true"
|
||||
android:icon="@mipmap/ic_launcher">
|
||||
<meta-data
|
||||
android:name="io.flutter.embedding.android.EnableImpeller"
|
||||
android:value="false"/>
|
||||
android:name="io.flutter.embedding.android.EnableImpeller"
|
||||
android:value="false" />
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:exported="true"
|
||||
|
|
@ -47,7 +56,7 @@
|
|||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
<category android:name="android.intent.category.LEANBACK_LAUNCHER"/> <!-- Google TV -->
|
||||
<category android:name="android.intent.category.LEANBACK_LAUNCHER" /> <!-- Google TV -->
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<!-- Don't delete the meta-data below.
|
||||
|
|
|
|||
Loading…
Reference in New Issue