Installation

There are two ways you can install SuprSend SDK into your app:

Initialization

Add the below lines of code in your AppDelegate.swift.

import SuprSendSdk 

// inside application didFinishLaunchingWithOptions method
let suprSendConfiguration = SuprSendSDKConfiguration(withKey: "<workspace_key>", secret:"<workspace_secret>")
SuprSend.shared.configureWith(configuration: suprSendConfiguration, launchOptions: launchOptions) 

Replace <workspace_key> and <workspace_secret> with the keys linked to your SuprSend account. You can find it on SuprSend dashboard (Developers -> API keys) section.