Cobrowse - IOS SDK

iOS SDK

Installation

The SaleAssist Cobrowse SDK for iOS is available for installation via several dependency managers, or as frameworks to integrate directly into your project:

https://github.com/cobrowseio/cobrowse-sdk-ios-binary.git

Add the CobrowseIO package dependency to your app targe

Add the following lines to your code which will register this device with the SaleAssist Cobrowse servers so you can connect to it. You could choose to do this on app startup, or when your users visits a support page in your application, or any other time.

import CobrowseIO
...

CobrowseIO.instance().license = "put your license key here"
CobrowseIO.instance().start()

Registering on startup

If you would like your devices to register as soon as your app starts, we recommend doing this in your app delegate application:didFinishLaunchingWithOptions: method. For example:

import CobrowseIO

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool
{
    CobrowseIO.instance().license = "put your license key here"
    CobrowseIO.instance().start()
    return true
}

Identify your devices

Read here for Identifying your devices to cobrowse.

Add your License Key

Please register an email at [email protected] to get your License Key.

This will associate sessions from your mobile app with your SaleAssist Cobrowse account.

Requirements

  • iOS 11.0 or later

Last updated

Was this helpful?