현재 플러그인 로컬 알림을 사용할 수 있습니다
this.localNotifications.schedule({
id: 1,
text: 'Single Immediate ILocalNotification',
sound: isAndroid? 'file://sound.mp3': 'file://beep.caf',
data: { secret:'hi' }
});
let originalTime = new Date().getTime();
// Schedule delayed notification (1 hour from original time)
this.localNotifications.schedule({
id: 2,
text: 'Delayed 1 hour ILocalNotification',
at: new Date(originalTime + 3600000), // 3600000 is 1 hour in milliseconds
sound: isAndroid? 'file://sound.mp3': 'file://beep.caf',
data: { secret:'hi 1 hour later' }
});
:
https://ionicframework.com/docs/native/local-notifications/
은과 같이 스케줄 방법을 사용