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 its ILocalNotification spec.
Am I doing something wrong? Here’s the command I’m running.
Why use a plugin that states it is not compatible with Ionic? if you want to pursue that, I’d suggest you post on the Ionic Native issues page. In the meantime, why not use the phonegap notifications plugin? It’s based on web API which is more Ionic-y anyway.
The priority option did nothing. Transpiler accepted it (unlike some other options like vibrate which it failed to recognize) but it did nothing.
Then I removed that and ran ionic cordova plugin add cordova-plugin-local-notification as listed in the Ionic Native documentation and ionic cordova plugin then showed: