Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / games / chess / src / main / AndroidManifest.xml

AndroidManifest.xml47 lines · 2.3 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
4 <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). -->
5 <!-- This app uses no motion/environment sensors; MAOS withholds the -->
6 <!-- Sensors permission at install instead of auto-granting it. -->
7 <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
8
9 <uses-permission android:name="com.vayunmathur.games.hub.permission.READ_GAME_DATA" />
10 <uses-permission android:name="com.vayunmathur.games.hub.permission.WRITE_GAME_DATA" />
11 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
12 <uses-permission android:name="android.permission.INTERNET" />
13 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
14
15 <application
16 android:allowBackup="true"
17 android:backupAgent=".util.AppBackupAgent"
18 android:dataExtractionRules="@xml/data_extraction_rules"
19 android:icon="@mipmap/ic_launcher"
20 android:label="@string/app_name"
21 android:roundIcon="@mipmap/ic_launcher"
22 android:supportsRtl="true"
23 android:theme="@style/Theme.General">
24 <activity
25 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
26 android:name=".MainActivity"
27 android:exported="true"
28 android:launchMode="singleTop"
29 android:theme="@style/Theme.General">
30 <intent-filter>
31 <action android:name="android.intent.action.MAIN" />
32
33 <category android:name="android.intent.category.LAUNCHER" />
34 </intent-filter>
35 <!-- Lichess OAuth (PKCE) redirect: modernapps://lichess-callback?code=…&state=… -->
36 <intent-filter>
37 <action android:name="android.intent.action.VIEW" />
38
39 <category android:name="android.intent.category.DEFAULT" />
40 <category android:name="android.intent.category.BROWSABLE" />
41
42 <data android:scheme="modernapps" android:host="lichess-callback" />
43 </intent-filter>
44 </activity>
45 </application>
46
47</manifest>