         // invoke ipAddress detection to be prepared for the next call
         _ = BreinIpInfo.shared
     }
-
-//    public func configure(apiKey: String, secret: String) {
-//        /// create the configuration object
-//        let breinConfig = BreinConfig(apiKey, secret: secret)
-//
-//        /// set configuration
-//        Breinify.setConfig(breinConfig)
-//    }
 
     public func configureSession() {
         self.appSessionId = UUID().uuidString


        let aps = notification.request.content.userInfo["aps"] as! [String: Any]

        self.sendActivity("openedPushNotification", additionalContent: aps)

        // call BreinNotification-Handler
        Breinify.getNotificationHandler()?.willPresent(notification)

        BreinLogger.shared.log("didReceiveRemoteNotification called with notification: \(notification)")

        let notDic = notification["aps"] as! [String: Any]
        self.sendActivity(BreinActivityType.RECEIVED_PUSH_NOTIFICATION.rawValue, additionalContent: notDic)
    }

    public func didFailToRegisterForRemoteNotificationsWithError(_ error: Error) {
