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

Modern-Apps.git / everysync / src / main / AndroidManifest.xml

AndroidManifest.xml87 lines · 4.0 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="android.permission.INTERNET" />
10 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
11 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
12 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
13
14 <uses-permission android:name="android.permission.READ_CONTACTS" />
15 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
16
17 <uses-permission android:name="android.permission.READ_CALENDAR" />
18 <uses-permission android:name="android.permission.WRITE_CALENDAR" />
19
20 <!-- Relay IPC: query the passwords/notes/todo vault ContentProviders (signature-gated). -->
21 <uses-permission android:name="com.vayunmathur.passwords.permission.RELAY" />
22 <uses-permission android:name="com.vayunmathur.notes.permission.RELAY" />
23 <uses-permission android:name="com.vayunmathur.todo.permission.RELAY" />
24
25 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
26 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
27 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
28
29 <application
30 android:allowBackup="true"
31 android:name=".EverySyncApplication"
32 android:dataExtractionRules="@xml/data_extraction_rules"
33 android:icon="@mipmap/ic_launcher"
34 android:label="@string/app_name"
35 android:roundIcon="@mipmap/ic_launcher"
36 android:supportsRtl="true"
37 android:theme="@style/Theme.General">
38
39 <activity
40 android:name=".MainActivity"
41 android:exported="true"
42 android:launchMode="singleTop"
43 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
44 android:theme="@style/Theme.General">
45 <intent-filter>
46 <action android:name="android.intent.action.MAIN" />
47 <category android:name="android.intent.category.LAUNCHER" />
48 </intent-filter>
49 <intent-filter>
50 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
51 <category android:name="android.intent.category.DEFAULT" />
52 </intent-filter>
53 <!-- everysync://join/<vaultId>?owner=<device>&type=<dataType>: sealed join request (public ids only). -->
54 <intent-filter>
55 <action android:name="android.intent.action.VIEW" />
56
57 <category android:name="android.intent.category.DEFAULT" />
58 <category android:name="android.intent.category.BROWSABLE" />
59
60 <data android:scheme="everysync" android:host="join" />
61 </intent-filter>
62 </activity>
63
64 <service
65 android:name=".platform.AuthenticatorService"
66 android:exported="false">
67 <intent-filter>
68 <action android:name="android.accounts.AccountAuthenticator" />
69 </intent-filter>
70 <meta-data
71 android:name="android.accounts.AccountAuthenticator"
72 android:resource="@xml/authenticator" />
73 </service>
74
75 <receiver
76 android:name=".platform.BootReceiver"
77 android:exported="true"
78 android:enabled="true">
79 <intent-filter>
80 <action android:name="android.intent.action.BOOT_COMPLETED" />
81 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
82 </intent-filter>
83 </receiver>
84
85 </application>
86
87</manifest>