Tutorial: Guide to Setup up Google Cloud Messaging (GCM) on Android
Push notifications is used to integrate real-time messaging to your apps. It keeps you stay in touch with users and makes it easy for your users to communicate. Below are the necessary steps required to add this feature to your application. You need Sender ID and API Key for Google Cloud Messaging (GCM). Creating a New App in Google Developers You need to get google-services.json file contains the GCM configurations for your App to send GCM messages to Android Devices The following instructions covers the creation Configuration file Go to Google Developers Click GET A CONFIGURATION FILE Enter the App Name and Application̢۪s package name Click on Continue To Choose and Configuration Service Now in the next screen you will see a button to enable Google Cloud Messaging, click on it. Click Enable Google Cloud Messaging you will get the Server API Key and Sender ID Scroll and click on Continue To Generate Configuration Files Click on Download goolge-services.json button and you will ...