jazzband / django-push-notifications

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

How to get Registration_id? #630

Open halhwadi opened 2 years ago

halhwadi commented 2 years ago

Can you please provide more details on how to capture registration_id for clients devices?

jamaalscarlett commented 2 years ago

That is device specific. See https://developer.apple.com/forums/thread/70991 and https://developer.android.com/training/articles/user-data-ids

halhwadi commented 2 years ago

Thank you Jamaal for these details.. I'm working on web push notification for django web application. I have referred to firebase and succeed in getting the user token , however I still need some help (more details from js perspective in regard of receiving and displaying message and notification for foreground and background modes..

I have tried JS provided in your your read me page but I got some errors (one of them already posted as an issue here # 629), I would appreciate if you can assist me in this area as this the only outstanding blocker ...