@eldy wrote:
My friend who do native android said push notification is tedious and he said have to check if the token expired, and have to save the latest generated token to the db.
So what does ionic push service provide? as I know every time I do this
push.register(function(token) { console.log("Device token:",token.token); push.saveToken(token); // persist the token in the Ionic Platform });
I'm seeing the same token every time I open my app, unlike what he said I will get a whole new token. And how do I clean up my token in db? like I have 100,000 app download and have 100,000 token saved in the db, but over time there might be only 20,000 active user, it's a waste to send 100,000 token again right? how to handle that case?
Posts: 1
Participants: 1