Performance tuning of opening IMAP mailbox and Fix mailbox logic so it wont auto open first mail

This commit is contained in:
2026-11-09 19:39:42 +02:00
parent 78989f7b56
commit d0b26db9ee
16 changed files with 287 additions and 21 deletions
+2
View File
@@ -10685,6 +10685,7 @@ Only continue if you checked this fingerprint with the owner.`)) throw new Error
var EpMail = registerPlugin("EpMail");
if (Capacitor.isNativePlatform() && Capacitor.getPlatform() === "android") {
const daybreakMail = {
platform: "android",
getAppVersion: () => EpMail.getAppVersion().then((result) => result.version),
getNotificationPrivacy: () => EpMail.getNotificationPrivacy(),
setNotificationDetails: (enabled) => EpMail.setNotificationDetails({ enabled }),
@@ -10699,6 +10700,7 @@ Only continue if you checked this fingerprint with the owner.`)) throw new Error
connect: (details) => EpMail.connect(details),
updateAccount: (id, details) => EpMail.updateAccount({ id, ...details }),
syncFolder: (folder, offset, filters) => EpMail.syncFolder({ folder, offset, filters }),
getCachedFolder: (folder, offset, filters) => EpMail.getCachedFolder({ folder, offset, filters }).then((result) => result.cached),
listFolders: () => EpMail.listFolders(),
createFolder: (name) => EpMail.createFolder({ name }),
listDrafts: () => EpMail.listDrafts(),