Setup
Clients will need to provide the required configuration before using any component from the AiriaKit else they will see a crash with configuration not set. They need to call the below method:didFinishLaunchingWithOptions
method
apiKey
object in the AiriaKit.Configuration
step above, and leave the authTokenProvider
blank. If an Airia APIKey is not provided, the SDK will default authentication to our plaform-provided authentication server. It is important to note that if this route is selected, users of the SDK from within the client app will need to provide their Airia Email and Password to login.
iCloudConatainerId
Clients will need to create a iClould containerID specific to their app and pass the identifier here. (Note: Log the explicit error here for clients to know whats missing)InfoPlist entries
CameraUsage: Clients will need to provide camera related entries into the info plist for scanning related functionalityIntegrating ChatSDK
Below is the minimal View and ViewModel required for Clients to configure the AiriaChatSDKView in a SwiftUI view.View
ViewModel
AiriaChatSDKView
has been added.