 }
 
 @objc
-class AppsFlyerDestination: UIResponder, DestinationPlugin, RemoteNotifications, iOSLifecycle  {
+class AppsFlyerDestination: UIResponder, DestinationPlugin  {
     let timeline = Timeline()
     let type = PluginType.destination
     let key = "AppsFlyer"

    fileprivate var settings: AppsFlyerSettings? = nil
    
    public func update(settings: Settings) {
        
        guard let settings: AppsFlyerSettings = settings.integrationSettings(forPlugin: self) else { return }
        self.settings = settings
        

        }
        
        return event
    }
}

extension AppsFlyerDestination: RemoteNotifications, iOSLifecycle {
    func applicationDidBecomeActive(application: UIApplication?) {
        AppsFlyerLib.shared().start()
    }
    
    func openURL(_ url: URL, options: [UIApplication.OpenURLOptionsKey : Any]) {
        AppsFlyerLib.shared().handleOpen(url, options: options)
    }
    
    func receivedRemoteNotification(userInfo: [AnyHashable: Any]) {
        AppsFlyerLib.shared().handlePushNotification(userInfo)
    }
}

