-
Notifications
You must be signed in to change notification settings - Fork 347
Upgrading from version 2.x to 3.0
Ian Leitch edited this page Feb 9, 2014
·
1 revision
in order to support both Apple Push Notifications and Google Cloud Messages, the Rpush::App
and Rpush::Notification
classes are now bases classes. Application specific classes are Rpush::Apns::App
and Rpush::Apns::Notification
for Apple Push Notifications and Rpush::Gcm::App
and Rpush::Gcm::Notification
for Google Cloud Messages.
- the
key
column is now known asname
. This value is now unique within the scope of the application type (Apns / Gcm) and the environment (sandbox
/production
)
- The
app
column has been removed. - There is an
app_id
column, and anapp
belongs_to association toRpush::App
.