@m52go wrote:
Hi, I’m trying to change priority for my local notifications (need low priority, don’t care about Oreo at the moment). According to the Android API, values range from -2 to 2.
I’ve tried all those values for
priority
and notice no difference in the priority of notifications.Does this setting work? I noticed the GitHub page for the plugin says it’s not compatible with Ionic, but Ionic’s page lists
priority
as a part of itsILocalNotification
spec.Am I doing something wrong? Here’s the command I’m running.
this.localNotifications.cancel(36731).then(() => { this.localNotifications.schedule({ id: 36731, title: "Priority -1", text: "Test notification", ongoing: false, priority: -1, sound: null, smallIcon: 'res://ic_stat_notify.png', icon: 'res://bc_placeholder.png' }); });
Posts: 2
Participants: 2