miraclebg / chat21-ios-sdk

iOS Chat SDK built on Firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat21 is the core of the open source live chat platform Tiledesk.com.

Chat21 SDK for iOS

To install and configure the SDK follow this tutorial:

Chat21 iOS Get Started tutorial

Guide

Project setup Firebase Lib install Chat21 Lib install

Chat initialization

== [FIRApp configure]; [ChatManager configure];

Chat authentication

== [ChatAuth authWithEmail:email password:password completion:^(ChatUser *user, NSError *error)

Initialize with a specific user

== ChatManager *chatm = [ChatManager getInstance]; ChatUser *user; // you got this user from a previously authentication session (ex. [Chat authWithEmail]) // eventually complete user with data user.firstname = @"John"; user.lastname = @"Nash"; [chatm startWithUser:user];

UI

Get the conversations view

[[ChatUIManager getInstance] getConversationsViewController]

// all other views... (from chat manager)

About

iOS Chat SDK built on Firebase

License:GNU Affero General Public License v3.0


Languages

Language:Objective-C 100.0%