Exception: Gcm::Errors::NotRegistered
- Inherits:
-
StandardError
- Object
- StandardError
- Gcm::Errors::NotRegistered
- Defined in:
- lib/gcm_rails_mongo_mapper/gcm_rails_mongo_mapper.rb
Overview
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
Instance Method Summary collapse
-
#initialize(message) ⇒ NotRegistered
constructor
:nodoc.
Constructor Details
#initialize(message) ⇒ NotRegistered
:nodoc
40 41 42 |
# File 'lib/gcm_rails_mongo_mapper/gcm_rails_mongo_mapper.rb', line 40 def initialize() # :nodoc super("The registration_id is no longer valid: '#{}'") end |