Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

What does ionic push service provide?

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>