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.

109 lines
4.3 KiB

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