Handling Push Notifications and how to display list of unread or recent messages

I have got Ionic Push working in my app, but I am wanting to understand a little more about how to handle the incoming messages, setting badge counts, or displaying a list of recent and unread notifications in the app.

Are there any examples out there showing this or anyone willing to share some code?

Thanks in advance.