django-webpush icon indicating copy to clipboard operation
django-webpush copied to clipboard

Subscribe button not working

Open Julian7312 opened this issue 1 year ago • 3 comments

, I followed the steps in the README and believe i have my project setup correctly however when i click on the subscribe to push_notifications button i revive the following error in my developer tools console.

Screenshot from 2023-09-18 11-43-48

Screenshot from 2023-09-18 11-46-01

Julian7312 avatar Sep 18 '23 17:09 Julian7312

@Julian7312 I had the same issue, it seems that there is a problem with taking the user_agent json post data. Can you try to install from my repo to see if it works? https://github.com/jialutu/django-webpush

pip install https://github.com/jialutu/django-webpush/archive/refs/heads/master.zip

jialutu avatar Sep 25 '23 19:09 jialutu

Created pull request https://github.com/safwanrahman/django-webpush/pull/130

jialutu avatar Sep 25 '23 19:09 jialutu