Implemented the Android notification-privacy part of Phase 1:

This commit is contained in:
2026-11-03 07:49:07 +02:00
parent 790051f440
commit 3963778da1
13 changed files with 142 additions and 34 deletions
+2
View File
@@ -513,6 +513,8 @@
if (Capacitor.isNativePlatform() && Capacitor.getPlatform() === "android") {
window.daybreakMail = {
getAppVersion: () => EpMail.getAppVersion().then((result) => result.version),
getNotificationPrivacy: () => EpMail.getNotificationPrivacy(),
setNotificationDetails: (enabled) => EpMail.setNotificationDetails({ enabled }),
getAccount: () => EpMail.getAccount(),
listAccounts: () => EpMail.listAccounts(),
selectAccount: (id) => EpMail.selectAccount({ id }),