Initialize Haptik SDK before you start using it. This will prepare SDK for launch.
import UIKit
import HPWebKit
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
HPKit.sharedSDK.setup()
return true
}
}