How to make cordova local notification on android sticky
1 answer
It wasn't that bad. Just set the "ongoing: true" builtin option in the plugin:
scheduleActiveAlarm = function () {
cordova.plugins.notification.local.schedule({
id: 1,
text: 'Test text',
ongoing: true
});
};
https://github.com/katzer/cordova-plugin-local-notifications/wiki/04.-Scheduling
+4
source to share