Callback function for push notifications while app is killed (titanium iOS) -
i cant find clear answer in titanium documentation. possible directly respond push notification while app killed ?
i know callback called when open app trough push notification. there way respond when app opened manually ?
i tried use remote-notification uibackgroundmodes, helps paused apps.
my goal show push notification in in-app message center.
you should never rely on push notifications deliver payloads, limited that. if user receives 5 push notifications , opens app via app icon, never receive of payloads. if opens app via 1 of notifications receive payload.
you use silentpush: http://docs.appcelerator.com/platform/latest/#!/guide/ios_background_services-section-37539664_iosbackgroundservices-silentpush
but app should query back-end actual data. that's how whatsapp well, can see when open via notification still fetch message(s) form server.
Comments
Post a Comment