Ruby - Web push notification with encrypted payload and registration_ids using gcm

143 views Asked by At

I want to send web push notification to my clients using gcm. There are many libraries for many languages to encrypt the payload. I use ruby Webpush gem for encrypt the payload and send the notification. As far as I see this library encrypts the payload as octet stream and sends the result with octet-stream content type to GCM. How can I include registration_ids in the request body?

0

There are 0 answers