There are close to 4 million apps available on the app stores and many of them are in B2B and B2C connecting the businesses with users. Earlier mobile apps used to connect users with HTML form fields cases where it is for buyer-seller, teacher-student, flat owner-tenant or any doctor-patient connection. But things have changed now and you can’t connect users with HTML form fields any more, CONNECT is incomplete unless you provide them an intuitive way to COMMUNICATE.
EventBaazi is a marketplace where they connect the Host with the Event Managers/ Vendors who can meet their event related needs both in terms of quality as well as costing. EventBaazi realized in their early phase that everyone wants to chat privately.
“We got feedback from large number of clients to add some features by which they can converse privately with the client inside the platform itself” says Anup Dhirwan, co-founder of EventBaazi.
Most likely, your app needs real time updates for dynamic content or for more user engagement. Earlier we used to have polling mechanism to refresh the data. Polling is too expensive to the system as it consume server and client resources even if there are no updates. To solve this we need push notification from server and here GCM (Google cloud messaging) help us.
Google Cloud Messaging is a free service from Google to send push notifications to device on demand.
Enabling GCM to your application:
There are two part of it. One is authentication of server and another is identification of device. We will go through step by step for each part.
1 . Server Authentication:
a ) Enable API : To get the server key go to Google developer console and select your project from top drop down menu. Once you select your project you can see your project details. Please note down your project number.
Click on the APIS & auth and select API . In mobile API, select “Cloud Messaging for Android” and enable the API.
Users are not limiting their communication to friends and family anymore, turning to messaging services for on-demand services, online dating, sports clubs, shopping communities, support forums, and increasingly any situation where two-way communication is necessary.