I am trying to implement push notification on my android app. So no better place to start then the Googles Developers page.
I am trying to follow this tutorial here : GCM Demo App . Tutorial suggests to use the sample code that is given through the SDK Manager. After doing so and trying to send a push notification , when the app is running i see on the screen being written that a new push has arrived.
However , when the app is on background or not running i dont get a push notification. If i open the app , again the messages are shown on the screen. But i never get anything in the form of notification with a popup and a sound.
Do i manually have to do this in android? I thought it would be similar to iOS where the platform is responsible for showing you the notification.
Any ideas how i can implement it?