FairEmail/app/src/main/AndroidManifest.xml

413 lines
15 KiB
XML
Raw Normal View History

2018-08-02 13:33:06 +00:00
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2019-12-20 11:20:50 +00:00
xmlns:tools="http://schemas.android.com/tools"
2020-01-06 10:59:38 +00:00
package="eu.faircode.email"
android:installLocation="internalOnly">
2018-08-02 13:33:06 +00:00
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
2018-08-10 16:06:39 +00:00
<uses-permission android:name="android.permission.READ_CONTACTS" />
2019-02-07 09:25:11 +00:00
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
2018-08-24 12:24:40 +00:00
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
2018-10-08 06:18:44 +00:00
<uses-permission android:name="android.permission.WAKE_LOCK" />
2018-08-25 13:32:52 +00:00
<uses-permission android:name="com.android.vending.BILLING" />
2019-07-10 15:58:26 +00:00
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
2018-08-02 13:33:06 +00:00
2019-09-18 14:34:07 +00:00
<!-- OAuth -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission
android:name="android.permission.USE_CREDENTIALS"
android:maxSdkVersion="22" />
2019-11-22 12:08:55 +00:00
<uses-permission
android:name="android.permission.READ_PROFILE"
android:maxSdkVersion="22" />
2019-09-18 14:34:07 +00:00
2018-11-26 14:54:38 +00:00
<!-- https://developer.android.com/guide/topics/manifest/uses-feature-element#features-reference -->
2018-10-21 18:29:28 +00:00
<uses-feature
android:name="android.software.app_widgets"
android:required="false" />
2018-11-26 14:54:38 +00:00
<uses-feature
android:name="android.software.webview"
android:required="false" />
2019-05-09 10:19:43 +00:00
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
2019-07-10 15:58:26 +00:00
<uses-feature
android:name="android.hardware.fingerprint"
android:required="false" />
2018-10-21 18:29:28 +00:00
2020-04-08 17:34:54 +00:00
<!-- Android 11: https://developer.android.com/preview/privacy/package-visibility -->
2020-06-13 14:32:18 +00:00
<queries>
2020-06-14 16:34:13 +00:00
<!--intent>
2020-06-13 14:32:18 +00:00
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="*/*" />
2020-06-14 16:34:13 +00:00
</intent-->
2020-06-17 14:40:01 +00:00
<!-- AppAuth-Android -->
2020-06-14 16:34:13 +00:00
<intent>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
2020-06-13 20:54:55 +00:00
</intent>
2020-06-17 14:40:01 +00:00
<!-- Customtabs -->
2020-07-17 08:11:37 +00:00
<!-- https://developers.google.com/web/updates/2020/07/custom-tabs-android-11#detecting_browsers_that_support_custom_tabs -->
2020-06-17 14:40:01 +00:00
<intent>
<action android:name="android.support.customtabs.action.CustomTabsService" />
</intent>
2020-06-13 20:54:55 +00:00
<intent>
2020-06-25 10:37:25 +00:00
<action android:name="android.intent.action.INSERT" />
</intent>
<intent>
2020-06-13 20:54:55 +00:00
<action android:name="android.intent.action.GET_CONTENT" />
2020-06-14 17:56:31 +00:00
<category android:name="android.intent.category.OPENABLE" />
2020-06-13 20:54:55 +00:00
<data android:mimeType="*/*" />
</intent>
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
<intent>
<action android:name="android.provider.MediaStore.RECORD_SOUND" />
</intent>
2020-06-13 14:32:18 +00:00
<package android:name="org.sufficientlysecure.keychain" />
<package android:name="org.sufficientlysecure.keychain.debug" />
2020-06-19 18:44:02 +00:00
<intent>
<action android:name="org.openintents.openpgp.IOpenPgpService2" />
</intent>
2020-07-03 13:58:49 +00:00
<!-- https://android-developers.googleblog.com/2015/10/in-app-translations-in-android.html -->
<intent>
<action android:name="android.intent.action.PROCESS_TEXT" />
<data android:mimeType="text/plain" />
</intent>
2020-07-03 13:58:49 +00:00
<package android:name="com.google.android.tts" />
2020-06-13 14:32:18 +00:00
</queries>
2020-04-08 17:34:54 +00:00
2018-08-02 13:33:06 +00:00
<application
android:name=".ApplicationEx"
android:allowBackup="false"
android:appCategory="productivity"
2020-09-13 05:54:48 +00:00
android:icon="@mipmap/ic_launcher"
2018-08-02 13:33:06 +00:00
android:label="@string/app_name"
2020-09-27 07:36:38 +00:00
android:largeHeap="true"
android:networkSecurityConfig="@xml/network_security_config"
android:requestLegacyExternalStorage="true"
2020-08-23 16:33:31 +00:00
android:resizeableActivity="true"
2020-09-13 05:54:48 +00:00
android:roundIcon="@mipmap/ic_launcher_round"
2018-08-02 13:33:06 +00:00
android:supportsRtl="true"
2019-12-26 13:45:04 +00:00
android:theme="@style/AppThemeBlueOrangeLight">
2020-08-23 16:33:31 +00:00
<!-- https://developer.samsung.com/samsung-dex/modify-optimizing.html -->
2018-08-02 13:33:06 +00:00
<!-- do not contact Google servers -->
<meta-data
android:name="android.webkit.WebView.MetricsOptOut"
android:value="true" />
<meta-data
android:name="android.webkit.WebView.EnableSafeBrowsing"
2020-03-25 20:56:49 +00:00
android:value="false" />
<meta-data
android:name="android.allow_multiple_resumed_activities"
android:value="true" />
2018-08-04 16:54:57 +00:00
<activity
android:name=".ActivityMain"
2018-08-29 06:07:53 +00:00
android:excludeFromRecents="true"
2018-12-06 14:27:30 +00:00
android:exported="true"
2018-08-11 16:31:49 +00:00
android:launchMode="singleInstance"
2018-12-11 07:19:25 +00:00
android:theme="@style/Theme.AppCompat.Translucent">
2018-11-06 11:06:28 +00:00
2019-08-12 09:54:34 +00:00
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
2020-03-16 07:18:58 +00:00
<meta-data
android:name="android.service.chooser.chooser_target_service"
android:value="androidx.sharetarget.ChooserTargetServiceCompat" />
2019-08-12 09:54:34 +00:00
2018-08-02 13:33:06 +00:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
2018-11-06 11:06:28 +00:00
2019-08-12 09:54:34 +00:00
<intent-filter>
<action android:name="${applicationId}.REFRESH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
2018-08-02 13:33:06 +00:00
</activity>
<activity
android:name=".ActivitySetup"
2020-07-19 16:37:54 +00:00
android:exported="false"
2019-10-01 16:41:26 +00:00
android:launchMode="singleTask"
2020-07-19 16:37:54 +00:00
android:parentActivityName=".ActivityMain" />
2020-02-23 11:02:42 +00:00
<activity
android:name=".ActivitySignature"
android:exported="false"
android:launchMode="singleTask"
android:parentActivityName=".ActivitySetup" />
<activity
android:name=".ActivityWidget"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity
android:name=".ActivityWidgetUnified"
android:exported="true">
2019-08-12 09:54:34 +00:00
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<activity
android:name=".ActivityView"
2018-12-06 14:27:30 +00:00
android:exported="false"
2019-10-01 16:41:26 +00:00
android:launchMode="singleTask"
2018-12-06 14:27:30 +00:00
android:parentActivityName=".ActivityMain" />
<activity
android:name=".ActivitySearch"
2019-12-31 11:07:45 +00:00
android:enabled="true"
2018-12-06 14:27:30 +00:00
android:excludeFromRecents="true"
android:exported="true"
android:icon="@mipmap/ic_launcher"
2019-05-12 10:15:51 +00:00
android:label="@string/app_search"
2019-10-01 16:41:26 +00:00
android:launchMode="singleTask"
2018-12-11 07:19:25 +00:00
android:theme="@style/Theme.AppCompat.Translucent">
2018-11-06 11:06:28 +00:00
<intent-filter>
<action android:name="android.intent.action.PROCESS_TEXT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
2018-08-04 16:54:57 +00:00
<activity
android:name=".ActivityCompose"
2020-07-17 13:54:26 +00:00
android:exported="true"
2019-10-01 16:41:26 +00:00
android:launchMode="singleTask"
2020-07-17 13:54:26 +00:00
android:parentActivityName=".ActivityView">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="mailto" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SENDTO" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="mailto" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
</activity>
2018-08-02 13:33:06 +00:00
2019-02-06 13:07:13 +00:00
<activity
2019-08-29 19:57:04 +00:00
android:name=".ActivityEML"
2019-02-06 13:07:13 +00:00
android:exported="true"
android:icon="@mipmap/ic_launcher"
2019-10-01 16:41:26 +00:00
android:launchMode="singleTask">
2019-02-06 13:07:13 +00:00
2019-02-07 12:35:06 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:mimeType="message/rfc822" />
<data android:host="*" />
</intent-filter>
2019-02-06 13:07:13 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
<data android:mimeType="*/*" />
<data android:host="*" />
<data android:pathPattern=".*\\.eml" />
<data android:pathPattern=".*\\..*\\.eml" />
<data android:pathPattern=".*\\..*\\..*\\.eml" />
<data android:pathPattern=".*\\..*\\..*\\..*\\.eml" />
<data android:pathPattern=".*\\..*\\..*\\..*\\..*\\.eml" />
</intent-filter>
</activity>
2019-03-17 09:18:40 +00:00
<activity
android:name=".ActivityDSN"
android:exported="true"
android:icon="@mipmap/ic_launcher"
2019-10-01 16:41:26 +00:00
android:launchMode="singleTask">
2019-03-17 09:18:40 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" />
2019-03-18 18:09:21 +00:00
<data android:mimeType="message/delivery-status" />
2019-03-17 09:18:40 +00:00
<data android:mimeType="message/disposition-notification" />
2019-03-18 18:09:21 +00:00
<data android:mimeType="text/rfc822-headers" />
2019-03-17 09:18:40 +00:00
<data android:host="*" />
</intent-filter>
</activity>
2019-08-13 08:27:17 +00:00
<activity
android:name=".ActivityBilling"
android:icon="@mipmap/ic_launcher"
2019-10-01 16:41:26 +00:00
android:launchMode="singleTask" />
2019-08-13 08:27:17 +00:00
2019-12-20 11:20:50 +00:00
<activity
android:name="net.openid.appauth.RedirectUriReceiverActivity"
tools:node="replace">
<intent-filter android:autoVerify="true">
2019-12-20 11:20:50 +00:00
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
2019-12-22 09:57:17 +00:00
android:host="oauth.faircode.eu"
2019-12-20 11:20:50 +00:00
android:scheme="https" />
</intent-filter>
2019-12-20 14:49:19 +00:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="eu.faircode.email" />
</intent-filter>
2019-12-20 11:20:50 +00:00
</activity>
2019-06-13 06:13:43 +00:00
<service
android:name=".ServiceSynchronize"
android:foregroundServiceType="dataSync" />
2018-08-02 13:33:06 +00:00
2019-06-13 06:13:43 +00:00
<service
android:name=".ServiceSend"
android:foregroundServiceType="dataSync" />
2019-02-27 15:05:15 +00:00
<service android:name=".ServiceUI" />
2019-06-13 06:13:43 +00:00
<service
android:name=".ServiceExternal"
android:foregroundServiceType="dataSync">
2019-08-12 09:54:34 +00:00
2019-02-14 13:28:14 +00:00
<intent-filter>
2019-09-24 17:45:46 +00:00
<action android:name="${applicationId}.POLL" />
2019-02-20 18:02:17 +00:00
<action android:name="${applicationId}.ENABLE" />
<action android:name="${applicationId}.DISABLE" />
2020-07-20 06:25:25 +00:00
<action android:name="${applicationId}.DISCONNECT.ME" />
2019-02-14 13:28:14 +00:00
</intent-filter>
</service>
2018-11-07 08:09:05 +00:00
<service
2018-11-07 12:10:58 +00:00
android:name=".ServiceTileSynchronize"
2020-09-28 07:18:56 +00:00
android:icon="@drawable/twotone_sync_disabled_24"
2018-11-09 16:16:41 +00:00
android:label="@string/app_name"
2018-11-07 12:10:58 +00:00
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
2019-08-12 09:54:34 +00:00
2018-11-07 12:10:58 +00:00
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
<service
android:name=".ServiceTileUnseen"
2020-09-28 07:18:56 +00:00
android:icon="@drawable/twotone_mail_outline_24"
2018-11-07 12:10:58 +00:00
android:label="@string/tile_unseen"
2018-11-07 08:09:05 +00:00
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
2019-08-12 09:54:34 +00:00
2018-11-07 08:09:05 +00:00
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
2018-08-04 12:49:44 +00:00
<provider
2018-08-08 06:55:47 +00:00
android:name="androidx.core.content.FileProvider"
2018-08-16 13:57:29 +00:00
android:authorities="${applicationId}"
2018-08-04 12:49:44 +00:00
android:exported="false"
android:grantUriPermissions="true">
2018-11-06 11:06:28 +00:00
2018-08-04 12:49:44 +00:00
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/fileprovider_paths" />
</provider>
2018-10-21 18:29:28 +00:00
<receiver
android:name=".Widget"
2019-11-15 12:05:31 +00:00
android:label="@string/title_widget_title_count">
2018-11-06 11:06:28 +00:00
2018-10-21 18:29:28 +00:00
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widget" />
2019-08-12 09:54:34 +00:00
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
2018-10-21 18:29:28 +00:00
</receiver>
2019-07-25 13:33:21 +00:00
<receiver
android:name=".WidgetUnified"
2019-11-15 12:05:31 +00:00
android:label="@string/title_widget_title_list">
2019-07-25 13:33:21 +00:00
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widget_unified" />
2019-08-12 09:54:34 +00:00
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
2019-07-25 13:33:21 +00:00
</receiver>
<service
android:name="WidgetUnifiedService"
2019-07-25 13:33:21 +00:00
android:permission="android.permission.BIND_REMOTEVIEWS" />
2019-06-07 12:18:32 +00:00
<receiver android:name=".ReceiverAutoStart">
2019-08-12 09:54:34 +00:00
2018-08-02 13:33:06 +00:00
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
2018-11-06 11:06:28 +00:00
2018-08-02 13:33:06 +00:00
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter>
</receiver>
</application>
2020-09-10 21:03:43 +00:00
</manifest>