QiscusCore - Messaging and Chat Core API for iOS
Qiscus Enable custom in-app messaging in your Mobile App and Web using Qiscus Chat SDK and Messaging API
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapodsTo integrate QiscusCore into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'QiscusCore'
endThen, run the following command:
$ pod installCarthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate QiscusCore into your Xcode project using Carthage, specify it in your Cartfile:
$ github "qiscus/QiscusCore-iOS" "carthage-support"Initiate qiscus with app id
QiscusCore.setup(WithAppID: "yourAppId")
QiscusCore.login(userID: userID, userKey: key) { (result, error) in
if result != nil {
print("success")
}else {
print("error \(String(describing: error?.message))")
}
}
QiscusCore.login(withIdentityToken: identityToken, completion: { (result, error) in
if result != nil {
print("success")
}else{
print("error \(String(describing: error?.message))")
}
})
for other documents can be viewed on this page, Qiscus Docs
You can download example how to use QiscusCore with advance usage from QiscusCore Example.
If you any security disclosure, question, or other, you can make Ticket