I am trying to send push notifications to Android, and Apple iOS devices. To store the device tokens, I am using cocoa rest client
. For iOS devices that is fine, but I didn't understand how to store RegId
and token for the Android devices. as we have only 4 attributes, namely:
- token
- uid
- type
- timestamp
Generally, for Android we have to store RegId and device token, but in the table we don't have any attribute to store Regid. I am giving post values as type=android,token=device token
.
Will this help me to send push messages to Android devices? Without RegId, I think it is not possible.
I am using the Push Notifications module.