README.md in pushpad-0.5.0 vs README.md in pushpad-0.5.1
- old
+ new
@@ -1,8 +1,8 @@
# Pushpad - Web Push Notifications Service
-[Pushpad](https://pushpad.xyz) is a service for sending push notifications from your web app. It supports the **Push API** (Chrome and Firefox) and **APNs** (Safari).
+[Pushpad](https://pushpad.xyz) is a service for sending push notifications from your web app. It supports the **Push API** (Chrome, Firefox, Opera) and **APNs** (Safari).
Features:
- notifications are delivered even when the user is not on your website
- users don't need to install any app or plugin
@@ -10,10 +10,11 @@
Currently push notifications work on the following browsers:
- Chrome (Desktop and Android)
- Firefox (44+)
+- Opera (42+)
- Safari
## Installation
Add this line to your application's Gemfile:
@@ -78,10 +79,10 @@
body: "Hello world!", # max 120 characters
title: "Website Name", # optional, defaults to your project name, max 30 characters
target_url: "http://example.com", # optional, defaults to your project website
icon_url: "http://example.com/assets/icon.png", # optional, defaults to the project icon
ttl: 604800, # optional, drop the notification after this number of seconds if a device is offline
- require_interaction: true # optional, default is false, if true it prevents Chrome from automatically closing the notification after a few seconds
+ require_interaction: true # optional, if true it prevents Chrome from automatically closing the notification after a few seconds
})
# deliver to a user
notification.deliver_to user # or user_id