As I read in the doc of ionic local notifications
If I want to add multi notifications I should use this way:
this.localNotifications.schedule([{
id: 1,
text: 'Multi ILocalNotification 1',
sound: isAndroid ? 'file://sound.mp3': 'file://beep.caf',
data: { secret:key }
},{
id: 2,
title: 'Local ILocalNotification Example',
text: 'Multi ILocalNotification 2',
icon: 'http://example.com/icon.png'
}]);
But what about if I want to update the second local notification ?
And how can I add new local notification (without lose the old notifications) ?