Shibi Nirappel Sridhran created CB-11871:
--------------------------------------------

             Summary: Support for IOS
                 Key: CB-11871
                 URL: https://issues.apache.org/jira/browse/CB-11871
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 4.1.1, 4.1.2
         Environment: IOS 10 and xcode 9
            Reporter: Shibi Nirappel Sridhran


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)?
                          ^




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to