What is the proper way to retrieve a token after it’s been registered?

33 Views Asked by At

After your push token has been registered, what is the proper way to retrieve the token again for future use?

Previously, you were able to call a getStorageToken() function to retrieve the saved token on the device. With the new $ionicCloud method, it does not appear as if that is an option.

Can someone point me in the right direction for a better understanding of how to get an already saved token on the device?

Thanks!

1

There are 1 best solutions below

0
On

It appears that I was making this far too difficult.

I simply used the code $ionicPush.token.token to access to the token after it was registered.