I'm making a chat app. Using the Ionic mobile framework, how do I show a non-intrusive notification, and allow the user to tap on it to go to the related conversation? For example, I'm chatting with Alice when Bob sends me a message. I'd like to show a notification with part of the message, then when I tap on it, it goes to the conversation with Bob. I've got this working when the app isn't running via normal push actions, but it doesn't show the notification when the app is running.
I've looked at CordovaToast and the Toast PhoneGap plugin, but they don't seem to have any click / tap handler. I tried angular-toastr, but I can't get it to show with Ionic (possibly a CSS issue or something).
Is there a library for this? Should I roll my own in ionic / cordova, or write a native plugin?
Thanks,