jazzband / django-push-notifications

Send push notifications to mobile devices through GCM or APNS in Django.
MIT License
2.28k stars 617 forks source link

How to get registration_id of google chrome device? Any tutorial out there.. #422

Closed jaspindersingh83 closed 7 years ago

jaspindersingh83 commented 7 years ago

I am struck at providing registration_id of various users in Django admin panel

jamaalscarlett commented 7 years ago

When you say Google Chrome device, are you referring to a browser? Or an Android device?

jaspindersingh83 commented 7 years ago

Referring to a browser

jamaalscarlett commented 7 years ago

I'm not sure, but a device id is not needed to use this package.

jaspindersingh83 commented 7 years ago

its mentioned in the README that registration_id is a required field

registration_id (required): The FCM/GCM registration id or the APNS token for the device.

jamaalscarlett commented 7 years ago

That depends on how you implement webpush. That is handled client side, this is a server side package.