diff --git a/core/src/web/local-notifications.ts b/core/src/web/local-notifications.ts index 3ce86b4fa7..16b78919d4 100644 --- a/core/src/web/local-notifications.ts +++ b/core/src/web/local-notifications.ts @@ -107,7 +107,9 @@ export class LocalNotificationsPluginWeb extends WebPlugin implements LocalNotif } areEnabled(): Promise { - throw new Error('Method not implemented.'); + return Promise.resolve({ + value: Notification.permission === 'granted' + }); } requestPermission(): Promise {