I have basic push notifications sending to my application. I was wondering if there was a way to clear the notifications in the notification center when the app is opened?
There You may use Ti.UI.iPhone.appBadge = 0;
to reset the appBagde in the device. From 3.x, Appcelerator has added a new functionality to reset the badge on Appcelerator server.
Cloud.PushNotifications.setBadge() method allows the user to set the badge and Cloud.PushNotifications.resetBadge() will reset the badge in the notification center.