CometChat enables you to add voice, video and text chat to your Xamarin Android app in minutes! That's not all, CometChat has whiteboard, writeboard, real-time translation and more.
Download the sample Xamarin Android project from this repository and open the solution(.sln) in Visual Studio.
Open the MainActivity.cs file and replace the
CometChat License Keyand
API Keyvalues. These values can be found in the
CometChat Admin Panel, under the
Now you need to add the CometChat packages to the project. Please follow the below steps to the following:
a. Expand the
CometChatSamplefolder. b. Right-click on the packages folder and click on
Add packages. c. Search for
Xamarin.Android.CometChatpackage and add it to your project.
Now you can run the sample app.
For more information regarding the CometChat Xamarin.Forms SDK , please refer to the developer documentation.