Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


ConnectyCybe Android Chat code sample

This README introduces ConnectyCube Chat code sample written in Java lang.

Project contains XMPP instant messaging implementation between multiple users.

Original integration guide and API documentation - https://developers.connectycube.com/android/messaging

Chat code sample demo image Chat code sample demo image Chat code sample demo image


  1. Register new account and application at https://admin.connectycube.com then put Application credentials from 'Overview' page + Account key to the App class.

  2. At https://admin.connectycube.com, create from 2 to 10 users in 'Users' module and put them into user_config.json file at assets, in the following format:

  "user_1_login": "user_1_password",
  "user_2_login": "user_2_password",
  "user_3_login": "user_3_password"
  1. (Optional) If you are at Enterprise plan - provide your API server and Chat server endpoints at App class to point the sample against your own server.

  2. For offline pushes setup server key FCM, define sender_id (your sender id from google console) in string resource and put your google-services.json to module package, also uncomment apply plugin: 'com.google.gms.google-services' line in chat module build.gradle file. For more information look at https://developers.connectycube.com/android/push-notifications