Open ghost opened 5 years ago
Hi @StormRene ,
Right now it's impossible, but you can track it yourself when scheduling/canceling local notifications. Maybe we'll add this feature in future.
Best regards, Yuriy, Universal Tools team.
That's too bad. I would like to see all current notifications (on app start) and delete or update them if necessary - depending on the id or serilaised, attached data.
PS: I currently can't find a single Local Notification plugin that provides both pending and custom data to attach. That would be a great unique selling point. (Except the implementation of Unity Local Notification for iOS)
Hi @StormRene ,
I added that feature to our backlog.
Meanwhile. it's pretty simple to achieve yourself: just keep a list of active notifications yourself. Every time you schedule one, you can add it to the list and store it to a file/PlayerPrefs. Of course you'd have to include the date/time the notification is scheduled for. Then, when iterating over that list, check the date/times, if they're in future or notifications is repeating, then you can consider it pending.
Best regards, Yuriy, Universal Tools team.
Hello, is it possible to query pending notifications with the plugin? Thank you