M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Trigger an action upon receiving a push notification

Is is possible to trigger an action when a push notification is received by the app?

A simple example

  1. 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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Trigger an action upon receiving a push notification

Hello,

Sure, it is possible. Please use "push notification" event for that: https://devcenter.appery.io/documenta...

Return to “Issues”