[Android] Push notification for an inactive player
I have voxelbusters plugin and they have methods to show push notifications. I was wondering if anyone here knows how to use that in order to send a push notification to a user who hasn't opened the game for like 1-2 weeks ?
Thanks.
Answer by Voxel-Busters · Feb 12, 2016 at 07:45 AM
Hi, You can mail us directly to our support mail for quicker response. Anyways, Once you register for push notification and enable notification types(Alert/Sound), you will get a device token.
Once you have the device token and pass it to your server. From your server prepare the payload, set the registration token you got from the user and push it.
There are some third party services which let you to send a custom payload or you can create your own from a git php library.
OneSignal support for CPNP is getting uploaded this week so you can use their service too directly soon.
Thanks,
VB Team.