The iOS SDK for the Kustomer.com mobile client
See our official docs and guides
- A Kustomer.com API Key (How to get an API key)
- Xcode 12.0+
- iOS 11.0+
- Create or open your project inside of Xcode
- Navigate to File > Swift Packages > Add Package Dependency
- Enter https://github.com/kustomer/kustomer-ios in the URL field
- Use the Up to Next Major Version rule spanning from 2.0.0 < 3.0.0, and hit the Next button
- Add
pod 'KustomerChat', :git => 'https://github.com/kustomer/kustomer-ios.git'
to your Podfile - Run
pod update
orpod install
on your project
- Add
KustomerChat.xcframework
andKustomerNetworking.xcframework
to your project'sFrameworks, Libraries, and Embedded Content
section. - Check
Embed & Sign
for both frameworks.
- Add photo and camera privacy descriptions to your
Info.plist
. - In the
application(_:didFinishLaunchingWithOptions:)
method of yourAppDelegate
add
Kustomer.configure(apiKey: "API_KEY_HERE", options: nil, launchOptions: launchOptions)
- Call
Kustomer.show()
whenever and wherever you want to open the Kustomer chat interface.
See Installation for a full guide.
- Open
Example/Example.xcodeproj
- Set your API key in
AppDelegate.swift
- Your API key must have only the
org.tracking
role. You can get your API key from the Kustomer website.
- Your API key must have only the
- Run the app