nativescript-local-notifications
nativescript-local-notifications copied to clipboard
OnNotificationSent Feature
Currently, we can only specify app behavior after the user clicks on the notification. It would be more flexible if we can specify a certain behavior after a notification is sent, like scheduling another notification with a different period or changing something in the app itself.
Thanks.
I totally agree. (More generally, NativeScript would benefit from a way to schedule the execution of JavaScript code in a cross-platform manner such that the code is executed even if the CPU has fallen asleep. But this would be a great place for that feature!)
This would be really great. We struggle a lot at the moment to run some tiny code at a future timestamp (e.g. when a scheduled message is sent).