Performance tuning of opening IMAP mailbox and Fix mailbox logic so it wont auto open first mail
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user