Reading Notification

I am trying to make an app which would send notification data to my pc, and likewise to my iPhone. Does anyone know how to do this? I was originally using swift, which I do not know too well. In Swift, you use the didReciveRemoteNotification. I have not found a replacement for this in ionic yet.