IONIC push device tokens error

I am trying to use the IONIC push API to send push notifications. But I am getting multiple push notifications. I assume this is because there are multiple device tokens registered for the ID. How can I remove previous ID’s and just use the latest?

I used $ionicUser.unset(’_push.android_tokens’);$ionicUser.unset(’_push.ios_tokens’); to clear old tokens but now when I register I get a new token for ios and android but its the same token. And I am still getting multiple push notifications.

You are not alone with your request:
https://github.com/driftyco/ionic-push-issues/issues/11