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 Key
andAPI Key
values. These values can be found in theCometChat Admin Panel
, under theSettings
->API Keys
section. -
Now you need to add the CometChat packages to the project. Please follow the below steps to the following:
a. Expand the
CometChatSample
folder. b. Right-click on the packages folder and click onAdd packages
. c. Search forXamarin.Android.CometChat
package 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.