Set expiry in Push Notification

0 votes
Hi,

 

I like to set the expiry datetime for push notifications. I read in this treat that you were working on this, but I don't see this in de api documentation yet. can you tell me hou to implement the expiry time for php api and flash api?

 

Thanks a lot.
related to an answer for: How to set expire to Push notification?
asked Feb 16, 2015 in App42 Cloud API-BaaS by wouter (34 points)

1 Answer

0 votes

Hello Wouter,

 
Due to some other things in pipeline, this feature has not been scheduled yet , however you can handle this at your own end by sending the expiry time in json. 
 
For example: On message receiver event, you can compare the expiry time with current time and  take an action of show/hide notification from the phone. See here for ane source project & let me know if it helps.
 
Thanks,
Himanshu Sharma
answered Feb 16, 2015 by hs00105 (2,005 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...