diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2024-07-19 23:49:36 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2024-07-19 23:49:36 +0200 |
| commit | 2b7c14f2b68a26cba893855cd1a142328888bb13 (patch) | |
| tree | 6db090a2e4aa238ccda589a5fe899f459fbafea4 /android/app/src/main/AndroidManifest.xml | |
| download | ding-dong-mail-2b7c14f2b68a26cba893855cd1a142328888bb13.tar.gz ding-dong-mail-2b7c14f2b68a26cba893855cd1a142328888bb13.tar.zst ding-dong-mail-2b7c14f2b68a26cba893855cd1a142328888bb13.zip | |
Initial commit
Android app works, but Android says it uses much more battery than
ntfy.sh, which should never happen
goimapnotify works
Logo is awesome <3
There are problems with constant working, presumably after restarts.
Diffstat (limited to 'android/app/src/main/AndroidManifest.xml')
| -rw-r--r-- | android/app/src/main/AndroidManifest.xml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..de29269 --- /dev/null +++ b/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools"> + + <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> + <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> + <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> + <uses-permission android:name="android.permission.QUICKBOOT_POWERON"/> + <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> + <uses-permission android:name="android.permission.WAKE_LOCK"/> + + <queries> + <package android:name="eu.faircode.email" /> + </queries> + + <application + android:allowBackup="true" + android:dataExtractionRules="@xml/data_extraction_rules" + android:fullBackupContent="@xml/backup_rules" + android:icon="@mipmap/logo" + android:label="@string/app_name" + android:roundIcon="@mipmap/logo_round" + android:supportsRtl="true" + android:theme="@style/Theme.DingDongMail" + tools:targetApi="31"> + <activity + android:name=".MainActivity" + android:exported="true" + android:label="@string/app_name" + android:theme="@style/Theme.DingDongMail"> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> + </activity> + <service + android:name=".MainWorkerService" + android:enabled="true" + android:exported="false" + android:foregroundServiceType="specialUse"> + <property + android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" + android:value="Used to wait for ntfy.sh broadcast to download new mail"/> + </service> + <receiver + android:name=".StartReceiver" + android:enabled="true" + android:exported="true"> + <intent-filter> + <action android:name="android.intent.action.BOOT_COMPLETED" /> + <action android:name="android.intent.action.QUICKBOOT_POWERON" /> + </intent-filter> + </receiver> + </application> + +</manifest>
\ No newline at end of file |
