Hello folks,
this is my first question here!
I'm developing an app that correctly listen apns notifications, but i couldn't be able to listen for a notification when app is in background or closed and execute a custom code instead notifying the notification UI.
I try to use silent notification, but i couldn't find where tell to the os that when a particular notification is received, it have to execute a custom code instead showing the default notification UI.
I also tryied to use voip notification, but without success, i 'm not able to execute custom code when app is in foreground or terminated.
The final effect could be something like a video call incoming (i.e. skype or whatsapp) and the notification could be the trigger to start the app and play the call ring.
this is my first question here!
I'm developing an app that correctly listen apns notifications, but i couldn't be able to listen for a notification when app is in background or closed and execute a custom code instead notifying the notification UI.
I try to use silent notification, but i couldn't find where tell to the os that when a particular notification is received, it have to execute a custom code instead showing the default notification UI.
I also tryied to use voip notification, but without success, i 'm not able to execute custom code when app is in foreground or terminated.
The final effect could be something like a video call incoming (i.e. skype or whatsapp) and the notification could be the trigger to start the app and play the call ring.