Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11871

Support for IOS 10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.1, 4.1.2
    • None
    • cordova-ios
    • 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)?
      ^

      Attachments

        Activity

          People

            Unassigned Unassigned
            shibi.ns@gmail.com Shibi Nirappel Sridharan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: