Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.1.1, 4.1.2
-
None
-
IOS 10 and xcode 9
-
Important
Description
I am trying to add UNNotificationServiceExtension and results in build error
hybrid/platforms/ios/SE/NotificationService.swift:11:28: note: add @available attribute to enclosing class
class NotificationService: UNNotificationServiceExtension {
^
hybrid/platforms/ios/SE/NotificationService.swift:13:27: error: 'UNNotificationContent' is only available on iOS application extension 10.0 or newer
var contentHandler: ((UNNotificationContent) -> Void)?
^