-
Notifications
You must be signed in to change notification settings - Fork 682
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
Safari (Desktop) Push Notifications #159
Comments
I'm afraid I haven't done anything with Safari Notifications yet. I did look over the docs when it was released and couldn't see any obvious problems that might occur. I will try to get a development environment setup soon to investigate this. In the mean-time, if you make any progress please keep this issue up to date. |
Sent from my iPhone
|
My bad. I see the title and action options are missing. I will add them. |
Any estimate on when we might see this implemented? Many thanks. Edit: I'd contribute but I'm somewhat of a node newb. |
I'm just working on it at the moment. I won't be able to push it to npm for a little while as I have some other stuff I want to complete but it will be available on here. |
Fantastic. I've just cloned this locally and I'm still not getting the push notifications. Anything wrong with this?
Debug output...
|
Ok. I dig around notification.js and discovered I needed to use setAlertTitle(). Also see this...
Should it not be...
|
I decided to change this as-per your suggestion. Will be documenting it all tonight. -A
|
Any idea when this might be finalized? Much appreciate your work. |
I got side-tracked on some more pressing issues. I will do a 1.4.5 release to npm with some of the minor fixes over the weekend. |
v1.5.0 has been published to npm -A
|
Excellent! On Apr 19, 2014, at 3:27 AM, Andrew Naylor notifications@github.com wrote:
|
Could you provide an example of a message specifically for Safari? |
The Apple docs can probably explain it far better than I can, as I haven’t done any work with Push Notifications on Safari: https://developer.apple.com/library/prerelease/mac/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html#//apple_ref/doc/uid/TP40013225-CH3-SW1 If you’re looking for just a payload example I would recommend looking at Listing 2-4 —A On 11 Jun 2014, at 15:50, emadd notifications@github.com wrote:
|
I'm a veteran of push notifications for iOS, but this is my first Safari experience. I'm fairly certain I'm doing things correctly but I'm not getting any notifications. Here's my debug output...
The text was updated successfully, but these errors were encountered: