1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools"
4 package="eu.siacs.conversations">
5
6 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
7 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
8 <uses-permission android:name="android.permission.READ_CONTACTS" />
9 <uses-permission android:name="android.permission.READ_PROFILE" />
10 <uses-permission
11 android:name="android.permission.READ_PHONE_STATE"
12 android:maxSdkVersion="22" />
13 <uses-permission android:name="android.permission.INTERNET" />
14 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
15 <uses-permission android:name="android.permission.WAKE_LOCK" />
16 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
17 <uses-permission android:name="android.permission.VIBRATE" />
18 <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
19 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
20 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
21 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
22 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
23 <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
24
25 <uses-feature
26 android:name="android.hardware.location"
27 android:required="false" />
28 <uses-feature
29 android:name="android.hardware.location.gps"
30 android:required="false" />
31 <uses-feature
32 android:name="android.hardware.location.network"
33 android:required="false" />
34
35 <uses-permission android:name="android.permission.CAMERA" />
36 <uses-permission android:name="android.permission.RECORD_AUDIO" />
37 <uses-permission android:name="android.permission.BLUETOOTH" />
38 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
39 <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
40 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
41
42 <uses-feature
43 android:name="android.hardware.camera"
44 android:required="false" />
45 <uses-feature
46 android:name="android.hardware.camera.autofocus"
47 android:required="false" />
48
49 <uses-feature
50 android:name="android.hardware.microphone"
51 android:required="false" />
52
53
54 <application
55 android:allowBackup="true"
56 android:fullBackupContent="@xml/backup_content"
57 android:appCategory="social"
58 android:hardwareAccelerated="true"
59 android:icon="@mipmap/new_launcher"
60 android:label="@string/app_name"
61 android:largeHeap="true"
62 android:networkSecurityConfig="@xml/network_security_configuration"
63 android:requestLegacyExternalStorage="true"
64 android:theme="@style/ConversationsTheme"
65 tools:replace="android:label"
66 tools:targetApi="q">
67
68 <meta-data
69 android:name="com.google.android.gms.car.application"
70 android:resource="@xml/automotive_app_desc" />
71
72 <service android:name=".services.XmppConnectionService" />
73
74 <receiver android:name=".services.EventReceiver">
75 <intent-filter>
76 <action android:name="android.intent.action.BOOT_COMPLETED" />
77 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
78 <action android:name="android.intent.action.ACTION_SHUTDOWN" />
79 <action android:name="android.media.RINGER_MODE_CHANGED" />
80 </intent-filter>
81 </receiver>
82
83 <activity
84 android:name=".ui.ShareLocationActivity"
85 android:label="@string/title_activity_share_location" />
86 <activity
87 android:name=".ui.SearchActivity"
88 android:label="@string/search_messages" />
89 <activity
90 android:name=".ui.RecordingActivity"
91 android:configChanges="orientation|screenSize"
92 android:theme="@style/ConversationsTheme.Dialog" />
93 <activity
94 android:name=".ui.ShowLocationActivity"
95 android:label="@string/title_activity_show_location" />
96 <activity
97 android:name=".ui.ConversationActivity"
98 android:theme="@style/SplashTheme">
99 <intent-filter>
100 <action android:name="android.intent.action.MAIN" />
101 <category android:name="android.intent.category.LAUNCHER" />
102 </intent-filter>
103 </activity>
104 <activity
105 android:name=".ui.ConversationsActivity"
106 android:label="@string/app_name"
107 android:launchMode="singleTask"
108 android:minWidth="300dp"
109 android:minHeight="300dp"
110 android:windowSoftInputMode="stateHidden" />
111 <activity
112 android:name=".ui.ScanActivity"
113 android:screenOrientation="portrait"
114 android:theme="@style/ConversationsTheme.FullScreen"
115 android:windowSoftInputMode="stateAlwaysHidden" />
116 <activity
117 android:name=".ui.UriHandlerActivity"
118 android:label="@string/app_name">
119 <intent-filter>
120 <action android:name="android.intent.action.VIEW" />
121
122 <category android:name="android.intent.category.DEFAULT" />
123 <category android:name="android.intent.category.BROWSABLE" />
124
125 <data android:scheme="xmpp" />
126 </intent-filter>
127 <intent-filter android:autoVerify="true">
128 <action android:name="android.intent.action.VIEW" />
129
130 <category android:name="android.intent.category.DEFAULT" />
131 <category android:name="android.intent.category.BROWSABLE" />
132
133 <data android:scheme="https" />
134 <data android:host="conversations.im" />
135 <data android:pathPrefix="/i/" />
136 <data android:pathPrefix="/j/" />
137 </intent-filter>
138 <intent-filter>
139 <action android:name="android.intent.action.SENDTO" />
140
141 <category android:name="android.intent.category.DEFAULT" />
142
143 <data android:scheme="imto" />
144 <data android:host="jabber" />
145 </intent-filter>
146 <intent-filter>
147 <action android:name="android.intent.action.SENDTO" />
148
149 <category android:name="android.intent.category.DEFAULT" />
150
151 <data android:scheme="imto" />
152 <data android:host="xmpp" />
153 </intent-filter>
154 </activity>
155 <activity
156 android:name=".ui.StartConversationActivity"
157 android:label="@string/title_activity_start_conversation"
158 android:launchMode="singleTop">
159 <intent-filter>
160 <action android:name="android.intent.action.VIEW" />
161 </intent-filter>
162 </activity>
163 <activity
164 android:name=".ui.SettingsActivity"
165 android:label="@string/title_activity_settings">
166 <intent-filter>
167 <action android:name="android.intent.action.MAIN" />
168 <category android:name="android.intent.category.NOTIFICATION_PREFERENCES" />
169 </intent-filter>
170 </activity>
171 <activity
172 android:name=".ui.ChooseContactActivity"
173 android:label="@string/title_activity_choose_contact" />
174 <activity
175 android:name=".ui.BlocklistActivity"
176 android:label="@string/title_activity_block_list" />
177 <activity
178 android:name=".ui.ChangePasswordActivity"
179 android:label="@string/change_password_on_server" />
180 <activity
181 android:name=".ui.ChooseAccountForProfilePictureActivity"
182 android:enabled="false"
183 android:label="@string/choose_account">
184 <intent-filter android:label="@string/set_profile_picture">
185 <action android:name="android.intent.action.ATTACH_DATA" />
186 <category android:name="android.intent.category.DEFAULT" />
187
188 <data android:mimeType="image/*" />
189 </intent-filter>
190 </activity>
191 <activity
192 android:name=".ui.ShareViaAccountActivity"
193 android:label="@string/title_activity_share_via_account"
194 android:launchMode="singleTop" />
195 <activity
196 android:name=".ui.EditAccountActivity"
197 android:exported="false"
198 android:launchMode="singleTop"
199 android:windowSoftInputMode="stateHidden|adjustResize" />
200 <activity
201 android:name=".ui.ConferenceDetailsActivity"
202 android:label="@string/action_muc_details"
203 android:windowSoftInputMode="stateHidden" />
204 <activity
205 android:name=".ui.ContactDetailsActivity"
206 android:windowSoftInputMode="stateHidden" />
207 <activity
208 android:name=".ui.PublishProfilePictureActivity"
209 android:label="@string/mgmt_account_publish_avatar"
210 android:windowSoftInputMode="stateHidden" />
211 <activity
212 android:name=".ui.PublishGroupChatProfilePictureActivity"
213 android:label="@string/group_chat_avatar" />
214 <activity
215 android:name=".ui.ShareWithActivity"
216 android:label="@string/app_name"
217 android:launchMode="singleTop">
218
219 <intent-filter>
220 <action android:name="android.intent.action.SEND" />
221 <action android:name="android.intent.action.SEND_MULTIPLE" />
222
223 <category android:name="android.intent.category.DEFAULT" />
224
225 <data android:mimeType="text/plain" />
226 </intent-filter>
227
228 <intent-filter>
229 <action android:name="android.intent.action.SEND" />
230 <action android:name="android.intent.action.SEND_MULTIPLE" />
231
232 <category android:name="android.intent.category.DEFAULT" />
233
234 <data android:mimeType="*/*" />
235 </intent-filter>
236
237 <!-- the value here needs to be the full class name; independent of the configured applicationId -->
238 <meta-data
239 android:name="android.service.chooser.chooser_target_service"
240 android:value="eu.siacs.conversations.services.ContactChooserTargetService" />
241 </activity>
242 <activity
243 android:name=".ui.TrustKeysActivity"
244 android:label="@string/trust_omemo_fingerprints"
245 android:windowSoftInputMode="stateAlwaysHidden" />
246 <activity
247 android:name=".ui.AboutActivity"
248 android:parentActivityName=".ui.SettingsActivity">
249 <meta-data
250 android:name="android.support.PARENT_ACTIVITY"
251 android:value="eu.siacs.conversations.ui.SettingsActivity" />
252 <intent-filter>
253 <action android:name="android.intent.action.VIEW" />
254 <category android:name="android.intent.category.PREFERENCE" />
255 </intent-filter>
256 </activity>
257 <activity
258 android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
259 android:theme="@style/Base.Theme.AppCompat" />
260 <activity android:name=".ui.MemorizingActivity" />
261
262 <activity
263 android:name=".ui.MediaBrowserActivity"
264 android:label="@string/media_browser" />
265
266 <service android:name=".services.ExportBackupService" />
267 <service android:name=".services.ImportBackupService" />
268 <service
269 android:name=".services.ContactChooserTargetService"
270 android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
271 <intent-filter>
272 <action android:name="android.service.chooser.ChooserTargetService" />
273 </intent-filter>
274 </service>
275
276 <provider
277 android:name="androidx.core.content.FileProvider"
278 android:authorities="${applicationId}.files"
279 android:exported="false"
280 android:grantUriPermissions="true">
281 <meta-data
282 android:name="android.support.FILE_PROVIDER_PATHS"
283 android:resource="@xml/file_paths" />
284 </provider>
285 <provider
286 android:name=".services.BarcodeProvider"
287 android:authorities="${applicationId}.barcodes"
288 android:exported="false"
289 android:grantUriPermissions="true" />
290
291 <activity
292 android:name=".ui.ShortcutActivity"
293 android:label="@string/contact">
294 <intent-filter>
295 <action android:name="android.intent.action.CREATE_SHORTCUT" />
296 </intent-filter>
297 </activity>
298 <activity
299 android:name=".ui.MucUsersActivity"
300 android:label="@string/group_chat_members" />
301 <activity
302 android:name=".ui.ChannelDiscoveryActivity"
303 android:label="@string/discover_channels" />
304 <activity
305 android:name=".ui.RtpSessionActivity"
306 android:autoRemoveFromRecents="true"
307 android:launchMode="singleInstance"
308 android:supportsPictureInPicture="true" />
309 </application>
310
311</manifest>