标签: ionic2 ionic3 localnotification
我正在使用离子2本地通知。从后台删除应用时,本地通知无效。
这是示例代码
this.localNotifications.schedule({ text: 'Delayed ILocalNotification', every:'minute', at: new Date(new Date().getTime() + 60000), led: 'FF0000', sound: null });
答案 0 :(得分:0)
尝试此推送通知。 https://ionicframework.com/docs/native/push/
本地通知要求应用在后台运行。