django-webpush
django-webpush copied to clipboard
Subscribe button allways show "subscribe" with custom user model
When I use custom user model I see webpush_button only with "Subscribe to notifications" when I subscribed I can receive notifications, but button's text does not change
It actually does not depend on user. It depends on the browser. So if you are same user but using different browser, You will see subscribe button
Same for me. Maybe I'm missing something but I could not find code responsible for initial button state depending on subscription. I've tinkered a bit here, which is replacement for webpush.js. Does the job for me, but needs more work.