Implemented the Android notification-privacy part of Phase 1:
This commit is contained in:
@@ -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 }),
|
||||
|
||||
Reference in New Issue
Block a user