         if #available(iOS 10.0, *) {
             let notificationContent = bestAttemptContent as! UNMutableNotificationContent
             BreinifyManager.shared.serviceExtensionTimeWillExpire(notificationContent)
-        }
-
+        } else {
+            BreinLogger.shared.log("NotificationExtension only support from iOS 10 and above")
+        }
     }
 
     @objc

    @objc
    public static func didReceiveNotificationExtensionRequest(_ request: Any,
                                                              bestAttemptContent: Any) {

        if #available(iOS 10.0, *) {
            let notificationRequest = request as! UNNotificationRequest
            let notificationContent = bestAttemptContent as! UNMutableNotificationContent
            BreinifyManager.shared.didReceiveNotificationExtensionRequest(notificationRequest, bestAttemptContent: notificationContent)
        }

    }

    @objc

        if #available(iOS 10.0, *) {
            let notificationRequest = request as! UNNotificationRequest
            return BreinifyManager.shared.isBreinifyNotificationExtensionRequest(notificationRequest)
        } else {
            BreinLogger.shared.log("NotificationExtension only support from iOS 10 and above")
        }
        return false
    }
