1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-27 23:28:38 +02:00

Added back support for alarms

This commit is contained in:
Laurent Cozic
2020-10-14 12:56:27 +01:00
parent 040261abfa
commit cc889182b6
40 changed files with 112 additions and 38 deletions

View File

@ -1,4 +1,5 @@
// import { Notification } from 'lib/models/Alarm';
// import Logger from 'lib/Logger';
// const PushNotificationIOS = require('@react-native-community/push-notification-ios').default;
// export default class AlarmServiceDriver {
@ -6,7 +7,8 @@
// private hasPermission_:boolean = null;
// private inAppNotificationHandler_:any = null;
// constructor() {
// constructor(logger:Logger) {
// this.logger_ = logger;
// PushNotificationIOS.addEventListener('localNotification', (instance:any) => {
// if (!this.inAppNotificationHandler_) return;