More than one Push notifications comes to the same iOS device even active device's device_token is different

Here is our scenario,

  1. get the 'deivice_token' each time when user register to our app.
  2. send push notifications from back-end server to the registered 'device_token'


What happen :

   Our test case : Our app allows multiple registrations  (Same user can register more than one time)

  • Register new user -> "assume the device_token is device_token_1 and email is".
  • Uninstall the app or, logout and register same user again. now the device token is difference -> "assume the device_token is device_token_2 and email is".
  • Now the active device's device_token is device_token_2.
  • from back-end we send push notifications  to the user using email. in here to (two device_tokens for the same user and only one is active).
  • Even active  device_token is not the device_token_1, two push notifications comes to the device. (for device_token_1  and device_token_2).


NOTE : same scenario with the Android working properly. it only gets the active token and send the push notification to that.

Hope your help with this. 

Didn't find what you were looking for?

New post



  • Hi,

    Although it is still possible to target a device with device_token, there are various potential problems with this approach, and we have created the Channel ID to replace Device Token, to identify devices and target push notifications.

    When an app is registered, the SDK creates a Channel ID which you can then target in the your push notification.

    I hope this helps. 

    Jay M.
    Urban Airship Technical Support


    Comment actions Permalink
  • HI we were using Channel ID previously. for our scenario it works same got two push notifications.

    Comment actions Permalink
  • Got it. 

    Ok, let's take a look and figure out what's going on.

    Can you send me the App Key and one or more of the Push ID's for the notifications you've sent that arrived twice on a device, as well the channel ID for those devices?


    Jay M.
    Urban Airship Technical Support 

    Comment actions Permalink

Please sign in to leave a comment.