Xamarin

Build & scale your chat app with Xamarin Chat SDK

Go beyond simple messaging and deliver an amazing chat experience without having to reinvent the wheel. CometChat’s easy to use Chat SDK integrates seamlessly with Xamarin apps to launch chat functionality on any existing app.

Integration Time: 5 minutes

Xamarin-chat-sdk

Launch chat in minutes, not in weeks

CometChat Xamarin Chat SDK empowers you to build and scale chat with core & advanced messaging features. Backed up with a robust chat infrastructure, integration takes only a few minutes to initiate text, audio & video chat on your Xamarin app.

Seamless Integration

CometChat’s SDK is designed to seamlessly integrate into your existing app and enable CometChat functionalities.

Easy API

The Easy API allows developers effortless access to software modules through well-defined data structures.

No external dependency

CometChat’s mobile SDK is a standalone package designed to work right out of the box and does not require you to include or refer any other library.

Xamarin Chat SDK with Complete Source Code UI

CometChat’s ready to integrate SDK comes with complete Source Code for UI. Developers can customize CometChat by building on top of our existing UI and expand on CometChat’s functionality

Chat-sdk-customisable-UI
+
Chat-sdk-customisable-UI

Designed for developers

CometChat’s messaging SDK allows developers like you to build on top of our already built UI, giving you the complete freedom for customising chat and delivering meaning experiences. All this without having to build the chat from scratch. Our robust chat flexibility & scalability allows for chat application customizations with minimum work!

                      
                      String siteurl = "";
                      String licenseKey = "COMETCHAT-XXXXX-XXXXX-XXXXX-XXXXX";
                      String apiKey = "xxxxxxxxxxxxxxxxxxxxxx";
                      Boolean isCometOnDemand = true;

                      CometChat cometChat = CometChat.GetInstance(this.ApplicationContext);

                      cometChat.InitializeCometChat(siteurl, licenseKey, apiKey, isCometOnDemand, new CometChatCallback((JSONObject obj) => {
                               
                           /*code block on success */
                                                    
                      },(JSONObject obj) => {
                               
                           /*code block on success */

                      }));
                      
                    
                      
                        String siteurl = "";
                        String licenseKey = "COMETCHAT-XXXXX-XXXXX-XXXXX-XXXXX";
                        String apiKey = "xxxxxxxxxxxxxxxxxxxxxx";
                        Boolean isCometOnDemand = true;

                        cometchat = new CometChat();
                        readyUIFile = new readyUIFIle();
                        App.Configure();
                        User user = Auth.DefaultInstance.CurrentUser;
                        Database database = Database.DefaultInstance;
                        cometchat.InitializeCometChat(siteurl, licenseKey, apiKey, isCometOnDemand,(NSDictionary obj) =>{
                          if (obj != null){
                              Console.WriteLine("Init Success " + obj.ToString());
                              /*code block on success*/
                          }
                        },(NSError obj) => {
                          if (obj != null){
                              Console.WriteLine("Init Fail " + obj.ToString());
                                /*code block on fail*/
                          }
                        });
                      
                    
                      
                        String UID = "SUPERHERO1"
                        cometChat.LoginWithUID(this,UID, new CometChatCallback((JSONObject obj) => {
                          /* code block for login success */                 
                              
                        },(JSONObject obj) => {
                          /* code block for login fail */

                        }));
                        
                    
                      
                        String UID = "SUPERHERO1"
                        cometchat.loginWithUID(UID,(NSDictionary obj) => {
                          /*code block for login success*/

                        },(NSError obj) => {
                          /*code block for login failue*/

                        });
                      
                    
                      
                        Boolean isFullScreen = true;
                        
                        cometChat.LaunchCometChat(activity, isFullScreen, new LaunchCallbacks(successObj => successCall(successObj), fail => failCall(fail), onChatroomInfo => ChatroomInfo(onChatroomInfo), onError => Error(onError), onLogout => Logout(onLogout), onMessageReceive => MessageReceive(onMessageReceive), onUserInfo => UserInfo(onUserInfo), onWindowClose => WindowClose(onWindowClose)));
                      
                    
                      
                        readyUIFile = new readyUIFIle();

                        readyUIFile.LaunchCometChat(true, this, (userInfo) => OnUserInfo(userInfo),groupInfo=> OnGroupInfo(groupInfo),messageRecieve=>OnMessageRecieve(messageRecieve),launchSuccess=>OnLaunchSuccess(launchSuccess),launchFailure => OnLaunchFailure(launchFailure),onLogout => OnLogout(onLogout));
                      
                    

All-in-one Chat toolkit for a great messaging experience

Chat

Users can have personal and group conversations with CometChat and further make them expressive with a wide range of stickers and emojis, they can take interaction up a notch with our Voice&Video Only Calling & Conference feature.

Collaborate

Have users collaborate without ever leaving your website. Users can share documents, pictures and more using the file sharing feature, collaborative documents allow users to work on a single document in real time. Let your users draw and scribble away on the collaborative whiteboard.

Customize

CometChat can be customized to your liking. Edit CometChats colors to match your websites, Customize CometChat and use it in your native language. CometChat also has different layouts you can choose from and is also compatible with all modern mobile browsers.

Administrate

Users can have personal and group conversations with CometChat and further make them expressive with a wide range of stickers and emojis, they can take interaction up a notch with our Voice&Video Only Calling & Conference feature.

Monetize

Backed with Monetization features you can feature Advertisements within Chat Boxes, Push offers using the announcement feature, Use Role Based Access Control to control access of your features between your paid and free users, you can further charge your users whenever they use CometChat features using the Credit Deduction feature.

Powering Chat Solutions Across The Globe

CometChat