Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

129 lines
5.1 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="eu.faircode.email">
  4. <uses-permission android:name="android.permission.INTERNET" />
  5. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  6. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  7. <uses-permission android:name="android.permission.READ_CONTACTS" />
  8. <uses-permission android:name="android.permission.GET_ACCOUNTS" />
  9. <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
  10. <uses-permission android:name="android.permission.WAKE_LOCK" />
  11. <uses-permission android:name="com.android.vending.BILLING" />
  12. <uses-feature
  13. android:name="android.software.app_widgets"
  14. android:required="false" />
  15. <application
  16. android:name=".ApplicationEx"
  17. android:allowBackup="false"
  18. android:appCategory="productivity"
  19. android:icon="@mipmap/ic_launcher"
  20. android:label="@string/app_name"
  21. android:networkSecurityConfig="@xml/network_security_config"
  22. android:roundIcon="@mipmap/ic_launcher_round"
  23. android:supportsRtl="true"
  24. android:theme="@style/AppThemeLight">
  25. <!-- do not contact Google servers -->
  26. <meta-data
  27. android:name="android.webkit.WebView.MetricsOptOut"
  28. android:value="true" />
  29. <meta-data
  30. android:name="android.webkit.WebView.EnableSafeBrowsing"
  31. android:value="false" />
  32. <activity
  33. android:name=".ActivityMain"
  34. android:excludeFromRecents="true"
  35. android:launchMode="singleInstance"
  36. android:theme="@style/Theme.Transparent">
  37. <intent-filter>
  38. <action android:name="android.intent.action.MAIN" />
  39. <category android:name="android.intent.category.LAUNCHER" />
  40. </intent-filter>
  41. </activity>
  42. <activity
  43. android:name=".ActivitySetup"
  44. android:exported="false"
  45. android:launchMode="singleInstance"
  46. android:parentActivityName=".ActivityMain" />
  47. <activity
  48. android:name=".ActivityView"
  49. android:exported="true"
  50. android:launchMode="singleTop"
  51. android:parentActivityName=".ActivityMain">
  52. <intent-filter>
  53. <action android:name="android.intent.action.PROCESS_TEXT" />
  54. <category android:name="android.intent.category.DEFAULT" />
  55. <data android:mimeType="text/plain" />
  56. </intent-filter>
  57. </activity>
  58. <activity
  59. android:name=".ActivityCompose"
  60. android:exported="true"
  61. android:launchMode="standard"
  62. android:parentActivityName=".ActivityView">
  63. <intent-filter>
  64. <action android:name="android.intent.action.SEND" />
  65. <action android:name="android.intent.action.SEND_MULTIPLE" />
  66. <data android:mimeType="*/*" />
  67. <category android:name="android.intent.category.DEFAULT" />
  68. </intent-filter>
  69. <intent-filter>
  70. <action android:name="android.intent.action.SENDTO" />
  71. <data android:scheme="mailto" />
  72. <category android:name="android.intent.category.DEFAULT" />
  73. </intent-filter>
  74. <intent-filter>
  75. <action android:name="android.intent.action.VIEW" />
  76. <data android:scheme="mailto" />
  77. <category android:name="android.intent.category.DEFAULT" />
  78. <category android:name="android.intent.category.BROWSABLE" />
  79. </intent-filter>
  80. </activity>
  81. <service android:name=".ServiceSynchronize" />
  82. <service
  83. android:name=".JobDaily"
  84. android:exported="true"
  85. android:permission="android.permission.BIND_JOB_SERVICE" />
  86. <provider
  87. android:name="androidx.core.content.FileProvider"
  88. android:authorities="${applicationId}"
  89. android:exported="false"
  90. android:grantUriPermissions="true">
  91. <meta-data
  92. android:name="android.support.FILE_PROVIDER_PATHS"
  93. android:resource="@xml/fileprovider_paths" />
  94. </provider>
  95. <receiver
  96. android:name=".Widget"
  97. android:label="@string/app_name">
  98. <intent-filter>
  99. <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
  100. </intent-filter>
  101. <meta-data
  102. android:name="android.appwidget.provider"
  103. android:resource="@xml/widget" />
  104. </receiver>
  105. <receiver android:name=".ReceiverAutostart">
  106. <intent-filter>
  107. <action android:name="android.intent.action.BOOT_COMPLETED" />
  108. </intent-filter>
  109. <intent-filter>
  110. <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
  111. </intent-filter>
  112. </receiver>
  113. </application>
  114. </manifest>