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.

107 lines
4.2 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. <activity
  44. android:name=".ActivityView"
  45. android:exported="false"
  46. android:launchMode="singleTop"
  47. android:parentActivityName=".ActivityMain" />
  48. <activity
  49. android:name=".ActivityCompose"
  50. android:exported="true"
  51. android:launchMode="standard"
  52. android:parentActivityName=".ActivityView">
  53. <intent-filter>
  54. <action android:name="android.intent.action.SEND" />
  55. <action android:name="android.intent.action.SEND_MULTIPLE" />
  56. <data android:mimeType="*/*" />
  57. <category android:name="android.intent.category.DEFAULT" />
  58. </intent-filter>
  59. <intent-filter>
  60. <action android:name="android.intent.action.SENDTO" />
  61. <data android:scheme="mailto" />
  62. <category android:name="android.intent.category.DEFAULT" />
  63. </intent-filter>
  64. <intent-filter>
  65. <action android:name="android.intent.action.VIEW" />
  66. <data android:scheme="mailto" />
  67. <category android:name="android.intent.category.DEFAULT" />
  68. <category android:name="android.intent.category.BROWSABLE" />
  69. </intent-filter>
  70. </activity>
  71. <service android:name=".ServiceSynchronize" />
  72. <service
  73. android:name=".JobDaily"
  74. android:exported="true"
  75. android:permission="android.permission.BIND_JOB_SERVICE" />
  76. <provider
  77. android:name="androidx.core.content.FileProvider"
  78. android:authorities="${applicationId}"
  79. android:exported="false"
  80. android:grantUriPermissions="true">
  81. <meta-data
  82. android:name="android.support.FILE_PROVIDER_PATHS"
  83. android:resource="@xml/fileprovider_paths" />
  84. </provider>
  85. <receiver android:name=".ReceiverAutostart">
  86. <intent-filter>
  87. <action android:name="android.intent.action.BOOT_COMPLETED" />
  88. </intent-filter>
  89. <intent-filter>
  90. <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
  91. </intent-filter>
  92. </receiver>
  93. </application>
  94. </manifest>