[ Is there a way to check whether app is running in background or foreground using ionic? ]
I am totally new to Ionic. I need to know how to force an app to kill itself when it runs in background and will it still be receiving push notification when app is killed in the background?? Thanks for your answers.
Please refer this GCM push example for detail view of cloud push
And for killing the app please look here.