-
Notifications
You must be signed in to change notification settings - Fork 107
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
Apple web push causing errors #97
Comments
@briwg based on the readme file, the Safari browser is not supported. |
Yes, I understand that. However, the point is that people can land on my website using IOS Safari and subscribe to Push Notifications. When I then send out a PN an uncaught exception is thrown by the dll when the apple endpoint is encountered and my sender errors and stops. I have put a workaround in place, but the dll in my view should either a) handle the exception internally b) be updated to support Apple IOS push notifications since it appears they are now finally being rolled out. |
@briwg I am rooting for option b. |
Safari for MacOS have full support for standard PUSH API which works perfectly with this library. According to presentation, support for iOS and iPadOS will appear next year. But unfortunately, the library looks abandoned and is no longer being developed. |
So i believe i have found the issue here... After searching through the differences from the main js project and this one, i noticed that this library does not support the content encoding This feature is requested since 2018...: 44 |
I ran into a similar (but maybe not the same) problem where I got "403 - BadJwtToken" as an error. The solution to my problem was to remove the "<" and ">" from the mailto in the VAPID subject (from Push notifications now work fine for me (Safari on iOS) using this library. Hope this helps. |
DaBeSoft do you know if this works with iOS and iPadOS 16.4 devices which support web push? See: https://webkit.org/blog/13878/web-push-for-web-apps-on-ios-and-ipados/ |
Yes, it does work, but afaik the web app needs to be added to the homescreen for Push Notifications to work on iOS / iPadOS (as described in your link). |
Hi,
I'm starting to see registrations for Apple web push and they are causing errors such as:
Exception thrown: 'System.AggregateException' in mscorlib.dll
An exception of type 'System.AggregateException' occurred in mscorlib.dll but was not handled in user code
One or more errors occurred.
I'm using the latest version of the dll.
Thanks
Brian
The text was updated successfully, but these errors were encountered: