I'm trying to set up push notifications on iOS for a future date when a timed loot crate opens. Is this feature available for iOS yet? The last update was over a year ago here . If not, are there other options for setting a timed APN?
Thanks!
I'm trying to set up push notifications on iOS for a future date when a timed loot crate opens. Is this feature available for iOS yet? The last update was over a year ago here . If not, are there other options for setting a timed APN?
Thanks!
Delayed Push messages are actually locally defined on the client device based upon the data sent in the advance push notification package (check the CustomData in the Package). So, short version - yes, that's supported if you're providing your own client-side plugin to manage the scheduled Push messages locally.
So then technically, no. Playfab (on its own) does not support this feature. Correct?
Right, I have PNs for iOS integrated where the client sends a push executed thru the CloudScript. I read thru the docs for the CustomData. If I send a PN with a future time in the CustomData field on the Client side, send it to my CloudScript to parse and execute, I would assume the server would have the capabilities of handling that Custom Data somehow, right? I'm not very familiar with CloudScripts.
server.SendPushNotification({ Recipient : targetId, Package : { Message : `${myName} challenges you to a friendly battle!`, Title: "A Friend is Waiting", } });
No, Cloud Script is simply JavaScript running in our service. It runs the logic you specify, when you call it, and then exits. It is not related to Push Notifications in any way. To use Custom Data, you must have a plugin which is running on the client which interprets that data and uses it how you want to.
2 People are following this question.