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 cocoapods
To 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'
end
Then, run the following command:
$ pod install
You can use The Swift Package Manager to install QiscusCore by adding the proper description to your Package.swift file:
import PackageDescription
let package = Package(
name: "YOUR_PROJECT_NAME",
dependencies: [
.package(url: "https://github.com/qiscus/QiscusCore-iOS.git", from: "1.13.1"),
]
)
Carthage 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