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

Support for IOS 10

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1, 4.1.2
    • Fix Version/s: None
    • Component/s: cordova-ios
    • Labels:
    • Environment:

      IOS 10 and xcode 9

    • Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: