Question

I've been used urban airship for notification and it's working. Now client's requirement has been, he want to update a specific data (ie: current location) for client once any silent notification(no status bar notification) received. Could any one help me on this. Thanks

Was it helpful?

Solution

There is a couple of ways to send a silent notification to android devices. If you are using the built in notification builders, the notification will return null when the alert is empty. If you are using a custom one, just make sure its returning null when the alert is empty.

Then, send a notification with an empty alert. It will still come through on the push broadcast receiver.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top