//
//  AppDelegate.swift
//  Demo-DeepLink
//
//  Created by kirill on 12/10/19.
//  Copyright © 2019 Inspector Cloud. All rights reserved.
//

import UIKit

import ICDeepLink

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

    func application(_ application: UIApplication,
                     didFinishLaunchingWithOptions
                     launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    
        ICDeepLinkService.shared.scheme = "icdeeplink-demo"
        ICDeepLinkService.shared.token = "token"
        ICDeepLinkService.shared.agentId = "agent_id"
        
        return true
    }

    // MARK: UISceneSession Lifecycle

    @available(iOS 13.0, *)
    func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
        // Called when a new scene session is being created.
        // Use this method to select a configuration to create the new scene with.
        return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
    }
}

