Hi,
I'm using local notifications for my application.
I create them when "pause" event is called :
Ti.App.addEventListener('pause', function (e) { // init notif initNotif(); });And i remove them when "resume" event is called :
Ti.App.addEventListener('resume', function (e) { // cancel notif Titanium.App.iOS.cancelAllLocalNotifications(); });Everything is working, my notif is called and cancelled BUT when I resume my app, even if the notif is cancelled, i can still hear the sound of the notif. I tried to cancel specifically my notif :
myNotification.cancel();But this is not working, i can still hear the sound of my notif. How can I do to cancel notif and his sound when I resume the app ?
TY