class Gcm::Errors::NotRegistered
From Google:- An existing registration ID may cease to be valid in a number of scenarios, including:
- If the application manually unregisters - If the application is automatically unregistered which can (but not guaranteed) to happen if the user uninstalls the application - If the registration ID expires. Google might decide to refresh registration IDs
For all cases above, it is recommended that this registration ID is removed from the 3rd party server
Public Class Methods
new(message)
click to toggle source
Calls superclass method
# File lib/gcm_on_rails/gcm_on_rails.rb, line 40 def initialize(message) # :nodoc super("The registration_id is no longer valid: '#{message}'") end