Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscribe button not working #128

Open
Julian7312 opened this issue Sep 18, 2023 · 3 comments
Open

Subscribe button not working #128

Julian7312 opened this issue Sep 18, 2023 · 3 comments

Comments

@Julian7312
Copy link

, 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

@jialutu
Copy link
Contributor

jialutu commented Sep 25, 2023

@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
Copy link
Contributor

jialutu commented Sep 25, 2023

Created pull request #130

@bkupidura
Copy link

Any chance to release new version in pypi with this fix included?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants