Is is possible to trigger an action when a push notification is received by the app?
A simple example
I get a push notification with some command - say "execFunction: downloadfile", the app should download the file. If it gets the push notification "execFunction: uploadfile", then it should upload the file.
I already have all the setup done for downloading and uploading files. I need to be able to trigger them based on the push notification. Is this possible? If yes then is there any documentation that I can refer to? Mainly I want to know how to trigger an action in the app depending upon the command contained in the push notification. Hope my question is clear
Thanks,
M.M