Unciv/android/AndroidManifest.xml

69 lines
3.0 KiB
XML
Raw Normal View History

2017-11-22 05:09:35 +07:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
2017-11-22 05:09:35 +07:00
<uses-sdk/>
2017-11-22 05:09:35 +07:00
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<!-- See https://developer.android.com/training/tv/start/start -->
<uses-feature android:name="android.software.leanback" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:glEsVersion="0x00020000" android:required="false" />
2022-05-19 07:12:18 +07:00
<!--
Known Lint warnings:
UnusedAttribute: Since we're targeting a range of API levels, it's OK that e.g. appCategory will be ignored by OLD devices
IconDensities: See https://developer.android.com/training/tv/start/start#banner for the banner attribute, where they recommend supplying only one density.
-->
<!-- Cleartext traffic permission solely so users can host their own server without setting up https -->
2017-11-22 05:09:35 +07:00
<application
android:usesCleartextTraffic="true"
2017-11-22 05:09:35 +07:00
android:allowBackup="true"
android:icon="@mipmap/uncivicon"
android:roundIcon="@mipmap/uncivicon_round"
2017-11-22 05:09:35 +07:00
android:label="@string/app_name"
android:isGame="true"
android:largeHeap="true"
android:appCategory="game"
android:banner="@drawable/banner"
2017-11-22 05:09:35 +07:00
android:theme="@style/GdxTheme" >
<activity
android:name="com.unciv.app.AndroidLauncher"
android:launchMode="singleTask"
android:exported="true"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:screenOrientation="userLandscape"
tools:ignore="LockedOrientationActivity">
2017-11-22 05:09:35 +07:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:autoVerify="true" >
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data
android:scheme="https"
android:host="unciv.app"
android:path="/multiplayer"
/>
</intent-filter>
2017-11-22 05:09:35 +07:00
</activity>
<activity
android:name="com.unciv.app.AndroidTvLauncher"
android:exported="true"
android:theme="@style/GdxTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
<receiver android:name=".CopyToClipboardReceiver" android:exported="false" />
2017-11-22 05:09:35 +07:00
</application>
</manifest>