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">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<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.
|
<!-- Media access permissions.
|
||||||
Android 13 or higher.
|
Android 13 or higher.
|
||||||
https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions -->
|
https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions -->
|
||||||
|
|
@ -26,8 +35,8 @@
|
||||||
android:enableOnBackInvokedCallback="true"
|
android:enableOnBackInvokedCallback="true"
|
||||||
android:icon="@mipmap/ic_launcher">
|
android:icon="@mipmap/ic_launcher">
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="io.flutter.embedding.android.EnableImpeller"
|
android:name="io.flutter.embedding.android.EnableImpeller"
|
||||||
android:value="false"/>
|
android:value="false" />
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
|
|
@ -47,7 +56,7 @@
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<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>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<!-- Don't delete the meta-data below.
|
<!-- Don't delete the meta-data below.
|
||||||
|
|
@ -56,4 +65,4 @@
|
||||||
android:name="flutterEmbedding"
|
android:name="flutterEmbedding"
|
||||||
android:value="2" />
|
android:value="2" />
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
</manifest>
|
||||||
Loading…
Reference in New Issue