Exception: Gcm::Errors::InvalidRegistration

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gcm_rails_mongo_mapper/gcm_rails_mongo_mapper.rb

Overview

Invalid registration_id. Check the formatting of the registration ID that is passed to the server. Make sure it matches the the registration ID the phone receives in the com.google.android.c2dm.intent.REGISTRATION intent and that it is not being truncated or additional characters being appended

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidRegistration

:nodoc:



18
19
20
# File 'lib/gcm_rails_mongo_mapper/gcm_rails_mongo_mapper.rb', line 18

def initialize(message) # :nodoc:
  super("Invalid registration_id: '#{message}'")
end