Question:
We send push notifications that remain actual for a very limited time - 1 or 2 days.
How can we ensure that the devices that were offline during this period will not receive an outdated push?
Answer:
In that case, please make sure to use TTL (time-to-live) parameter!
That could be done via both Control Panel and Remote API.
Control Panel:
In the "Send Push" form you'll be able to find "Expiration time" slider for each platform:
This slider allows you to determine the maximum lifespan of the message.
Remote API:
Each platform has its own separate TTL parameter. For example:
"ios_ttl": 3600
"android_gcm_ttl": 3600
"chrome_gcm_ttl": 3600
Please make sure to set the value in seconds.
Comments
0 comments
Please sign in to leave a comment.