How does ionic push work, when token is changed


#1

As I know, the register id (token) that we use to send push by GCM changes in some period of time. How ionic handle this?


#2

That’s why you register for a token on every app start. If the token changes, it is updated/changed.


#3

But if user doesn’t open the app, it wouldn’t update. I asked the native developers, they told they write some services that runs even the user doesn’t open the app. Any idea?


#4

What happens in the backend of Ionic Push only Ionic people can answer:
http://ionicframework.com/support#support
(Scroll down to “Business and Customer Support”)


#5

(Which doesn’t mean that I am not interested in learning how this actually works - I hadn’t thought about that problem yet. Maybe all the push providers take care of that communication with Apple and Google?)


#6

I haven’t confronted with this problem too (Of course, maybe token will expire in some days). Only one of my friends that develops native apps told me about this.


#7

Now waiting for ionic team to reply to the ticket.