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.

108 lines
4.3 KiB

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. <application
  13. android:name=".ApplicationEx"
  14. android:allowBackup="false"
  15. android:appCategory="productivity"
  16. android:icon="@mipmap/ic_launcher"
  17. android:label="@string/app_name"
  18. android:networkSecurityConfig="@xml/network_security_config"
  19. android:roundIcon="@mipmap/ic_launcher_round"
  20. android:supportsRtl="true"
  21. android:theme="@style/AppThemeLight">
  22. <!-- do not contact Google servers -->
  23. <meta-data
  24. android:name="android.webkit.WebView.MetricsOptOut"
  25. android:value="true" />
  26. <meta-data
  27. android:name="android.webkit.WebView.EnableSafeBrowsing"
  28. android:value="false" />
  29. <activity
  30. android:name=".ActivityMain"
  31. android:excludeFromRecents="true"
  32. android:launchMode="singleInstance"
  33. android:theme="@style/Theme.Transparent">
  34. <intent-filter>
  35. <action android:name="android.intent.action.MAIN" />
  36. <category android:name="android.intent.category.LAUNCHER" />
  37. </intent-filter>
  38. </activity>
  39. <activity
  40. android:name=".ActivitySetup"
  41. android:exported="false"
  42. android:launchMode="singleInstance"
  43. android:parentActivityName=".ActivityMain" />
  44. <activity
  45. android:name=".ActivityView"
  46. android:exported="false"
  47. android:launchMode="singleTop"
  48. android:parentActivityName=".ActivityMain" />
  49. <activity
  50. android:name=".ActivityCompose"
  51. android:exported="true"
  52. android:launchMode="standard"
  53. android:parentActivityName=".ActivityView">
  54. <intent-filter>
  55. <action android:name="android.intent.action.SEND" />
  56. <action android:name="android.intent.action.SEND_MULTIPLE" />
  57. <data android:mimeType="*/*" />
  58. <category android:name="android.intent.category.DEFAULT" />
  59. </intent-filter>
  60. <intent-filter>
  61. <action android:name="android.intent.action.SENDTO" />
  62. <data android:scheme="mailto" />
  63. <category android:name="android.intent.category.DEFAULT" />
  64. </intent-filter>
  65. <intent-filter>
  66. <action android:name="android.intent.action.VIEW" />
  67. <data android:scheme="mailto" />
  68. <category android:name="android.intent.category.DEFAULT" />
  69. <category android:name="android.intent.category.BROWSABLE" />
  70. </intent-filter>
  71. </activity>
  72. <service android:name=".ServiceSynchronize" />
  73. <service
  74. android:name=".JobDaily"
  75. android:exported="true"
  76. android:permission="android.permission.BIND_JOB_SERVICE" />
  77. <provider
  78. android:name="androidx.core.content.FileProvider"
  79. android:authorities="${applicationId}"
  80. android:exported="false"
  81. android:grantUriPermissions="true">
  82. <meta-data
  83. android:name="android.support.FILE_PROVIDER_PATHS"
  84. android:resource="@xml/fileprovider_paths" />
  85. </provider>
  86. <receiver android:name=".ReceiverAutostart">
  87. <intent-filter>
  88. <action android:name="android.intent.action.BOOT_COMPLETED" />
  89. </intent-filter>
  90. <intent-filter>
  91. <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
  92. </intent-filter>
  93. </receiver>
  94. </application>
  95. </manifest>