/swift-lasdk-ios

Primary LanguageRubyOtherNOASSERTION

Swift LASDK iOS

System Minimum Requirements

  • Xcode 13
  • Monterey 12.1
  • swift-tools-version:5.5
  • iOS 13

Binaries

Platform / arch arm64 x86_x64
iOS (device) N/A
iOS (simulator)

Please Follow this repository for the latest SDK notifications.

Documentation

We are happy to introduce DocC documentation for LASDKiOS. Simply build the documentation with Command + Control + Shift + D in your app and have all the documentation that you need right in Xcode.

Version Changes

Swift Package Manager

1. In your Xcode Project, select File > Swift Packages > Add Package Dependency.
2. Follow the prompts using the URL for this repository
3. Choose which version you would like to checkout(i.e. 2.0.0)
4. Make sure the binary is linked in your Xcode Project via the target ``Target -> Build Phases -> Linked Binary``.

If you want to depend on LASDKiOS in your own project using SPM, it's as simple as adding a dependencies clause to your Package.swift:

dependencies: [
    .package(url: "https://github.com/cbajapan/swift-lasdk-ios.git", from: "2.0.0")
]

CocoaPods

Starting in version 2.0.0 of LASDK we are supporting CocoaPods as a delivery mechanism.

In order to use our CocoaPod please follow the following instructions.

  1. Navigate to your project
  2. Run pod init
  3. Run open -a Xcode Podfile
  4. Edit the Podfile as indicated below
source 'https://github.com/cbajapan/swift-lasdk-ios'

target 'CBAFusion' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for CBAFusion
pod 'LASDKiOS', '~> 2.0.0'
pod 'WebRTC', '~> 110.0.0'
end
  1. Close the Podfile
  2. Run pod install
  3. You now will use the .xcworkspace instead of .xcodeproj as a project source.

NOTE: if you have trouble installing or updating the CocoaPod, you may have an issue with the local pod repo.

If that is the case please try running the following Pod Commands

sudo rm -rf ~/.cocoapods/repos/cbajapan-swift-lasdk-ios
pod setup
pod install

Afterwards you can run the install or update command again

pod install

Import the SDK into your project

Swift

import LASDKiOS

Objective-C

@import LASDKiOS;

Getting Started

Please Read our DocC Documentation for more information

Using LASDKiOS

Session Configuration

Creating a Session

Consumer Session Creation

WebSocket Reconnection Control

Snapshots

Self-Signed Certificates

Permissions

Pause and Resume CoBrowse

Password Fields

LA without voice and video

Internationalization

Integrating with FCSDK

Informing the Agent of the CorrelationId

IPv6

Form Filling

Error Codes

Ending a Session

Embedding Shared Documents

During a Session

ScreenShareRequestDelegate

Sharing Documents

PushAuthorizationDelegate

DocumentDelegate

ConnectionStatusDelegate

AnnotationDelegate

AgentCobrowseDelegate

Cookies

AssistErrorReporter

Application Delegate

Annotations

Allow Disallow CoBrowse

Alerts Dialogs

Developer Guide

Migrating from the Legacy SDK