Comments (4)
I do not have ios device to debug this. Will try to debug in safari or emulator.
from django-webpush.
From what I have found through testing, it does not. I think this mostly has to do with the fact that the service worker that this repo uses does not implement an 'install' method. According to Webkit, web apps have to be "added to homescreen" in order to receive web push notifications on iOS. "Now with iOS and iPadOS 16.4 beta 1, we are adding support for Web Push to Home Screen web apps.".
My site has a separate service worker for the PWA side of the house. It implements the install method as well as some caching stuff. I think because THIS service worker doesn't also support the "push" method, it doesn't work.
I could be wrong though. I can't properly debug because you can only debug iOS mobile safari with a connected MacOS device.
from django-webpush.
I've tried same code which is working for chrome and firefox. It failed on iPadOS16.4.
As WebKit said, we need to share the web app to Home Screen. But it still didn't work.
I think it's not related to this package, it could be the issue from iOS platform.
from django-webpush.
It would be awesome if this worked for iOS. It may be due to the lack of the 'install' method.
Safwan i would really thank you if you could make this work.
from django-webpush.
Related Issues (20)
- django 4.0 compatibility HOT 1
- Problems to load 'webpush_header' HOT 5
- images in notification
- #from django.conf.urls import url HOT 1
- Open webpush url in a popup window
- Migrations problems with Django 3 HOT 5
- New release after 0.3.4 HOT 1
- Grouping of multiple notification not working
- Allow passing timeout to pywebpush.send
- Support for IOS 16.4 web push notifications? HOT 4
- IOS 16.4 Support Approach(Solved) HOT 4
- inquiry about notification limits per minute HOT 1
- Subscribe button not working HOT 2
- Errors When Sending Notifications HOT 1
- url not defined HOT 3
- Custom callbacks on subscription
- Cannot read properties of undefined (reding 'pushManager') HOT 4
- Muliple subscriptions for same Device HOT 4
- When I integrate nuxt and django-webpush, it only doesn't work with msedge. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-webpush.