Using the iOS SDK
1. You'll need to modify the ViewController.swift as needed by your application. This is a sample ViewController that has two buttons one to start a chat and one to start a video. This ViewController has an example of doing an online check before starting an interaction. Take the code that applies to your application and modify the view controller accordingly.
2. The TalkativeViewController takes various callback functions as properties, these are ran at various points during an interaction. Examples of some are shown in the ViewController.swift file
onReady(webview: WKWebView) - when the interaction is ready to start.
onQosFail(webview: WKWebView) - if QoS fails, for example if device doesn't meet the internet speed requirements.
onInteractionStart(webview: WKWebView) - when an interaction starts.
onInteractionFinished(webview: WKWebView) - when the interaction is over.
3. You should not need to change any of the other code.
4. To get a baseline version of the app working, you'll need to specify your own company and queue uuids in the ViewController.swift file (or your equivalent). You'll also need to specify your region.
Please contact us to receive the embed code.