Safari 7.0 to bring web notifications to OS X Mavericks
Apple is bringing its push notifications to the web, enabling support for websites to push updates to OS X Maverick users in Safari 7.0 even when their browser isn't running.
The new web push notification system in Safari 7.0 can be used to deliver websites' breaking news, sport scores, auction alerts (as depicted by Apple in its feature preview, above), or other information.
As with Apple's existing native app and cloud service notifications, users must opt-in to allow access to the feature, as demonstrated in a test site set up (above) by Connor LaCombe at kandutech.net.
After a user allows access, the site lets them compose a new notification. The demo server then associates the user's push token with the message and forwards it to Apple's push servers, which then delivers it to the user.
Managing notifications & Do Not Disturb mode
Web notifications look and work like any other notification alert. Their appearance can be customized by the user in System Preferences to show up as a temporary banner that vanishes on its own, or an alert that must be clicked to dismiss.
The user can also turn off notifications by service or system wide using Do Not Disturb, a feature introduced in iOS 6 that will appear on the Mac in OS X Mavericks. As on mobile devices, users can set Do Not Disturb to disable incoming notification alerts during a set period, when the screen is asleep or during presentations.
Macs running OS X Mavericks will automatically enter Do Not Disturb mode when a projector is attached or when using AirPlay Mirroring (a feature Apple's head of software development Craig Federighi noted in the WWDC keynote) although this can be turned off to allow updates.
A history of Apple's push notifications
With the opening the App Store in 2008's iOS 2.0, Apple's then head of iOS development Scott Forstall announced Apple would be setting up a centralized Push Notification Service as a mechanism for allowing apps to respond to updates from outside services without their needing to remain active in the background, constantly listening (and eating up battery power).
In addition to greatly lowering the iPhone's battery consumption compared to the prevailing background software model used by BlackBerry and Microsoft's Windows Mobile, Apple also used its new push notification system to power MobileMe's push messaging features.
However, Apple greatly underestimated the overwhelming demand for both apps and push notifications, sending the company back to the drawing board and delaying the rollout of Push notifications until iOS 3.0, after a stress testing beta program involving the Associated Press and other app developers.
In late 2009, Google, a major iOS developer, filed a patent for "notification of mobile device events," describing a feature it would later add to Android, albeit without a security model like Apple's. This resulted in both an adware/spam plague for Android users, but also bragging rights for Android enthusiasts who can now claim Apple simply copied its Notification Center from Android rather than having laid all the groundwork for touchscreen smartphones, a functional app store and secure, battery efficient notifications system.
AppleInsider has affiliate partnerships and may earn commission on products purchased through affiliate links. These partnerships do not influence our editorial content.