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.

93 lines
3.6 KiB

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:launchMode="singleInstance"
  31. android:theme="@style/Theme.Transparent">
  32. <intent-filter>
  33. <action android:name="android.intent.action.MAIN" />
  34. <category android:name="android.intent.category.LAUNCHER" />
  35. </intent-filter>
  36. </activity>
  37. <activity
  38. android:name=".ActivitySetup"
  39. android:exported="false"
  40. android:launchMode="singleInstance"
  41. android:parentActivityName=".ActivityMain"
  42. android:windowSoftInputMode="stateUnchanged" />
  43. <activity
  44. android:name=".ActivityView"
  45. android:exported="false"
  46. android:launchMode="singleTop"
  47. android:parentActivityName=".ActivityMain"
  48. android:windowSoftInputMode="stateUnchanged" />
  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.SENDTO" />
  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. </activity>
  62. <service android:name=".ServiceSynchronize" />
  63. <provider
  64. android:name="androidx.core.content.FileProvider"
  65. android:authorities="${applicationId}"
  66. android:exported="false"
  67. android:grantUriPermissions="true">
  68. <meta-data
  69. android:name="android.support.FILE_PROVIDER_PATHS"
  70. android:resource="@xml/fileprovider_paths" />
  71. </provider>
  72. <receiver android:name=".ReceiverAutostart">
  73. <intent-filter>
  74. <action android:name="android.intent.action.BOOT_COMPLETED" />
  75. </intent-filter>
  76. <intent-filter>
  77. <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
  78. </intent-filter>
  79. </receiver>
  80. </application>
  81. </manifest>