How to configure the test app with our own google-service.json and API-Key to get the notifications working.Thank youRegardsAishwaryaFrom: 


Use GCM funtion to get the registration Id for the device:

gcmInstance = GoogleCloudMessaging.getInstance(MainActivity.this);
regId = gcm.register("SenderId");

SenderId should be obtained from Google development portal where the app was created. Use the same package name as of the app while creating project in Google dev portal.
Then pass this regId to Teamchat SDK

Teamchat.setRemoteNotificationsDeviceToken() function.

Have more questions? Submit a request


Powered by Zendesk