You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shibi Nirappel Sridhran (JIRA)" <ji...@apache.org> on 2016/09/19 20:52:20 UTC

[jira] [Closed] (CB-11871) Support for IOS 10

     [ https://issues.apache.org/jira/browse/CB-11871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shibi Nirappel Sridhran closed CB-11871.
----------------------------------------
    Resolution: Fixed

The issue was I created extension as Swift and after creating as objective-c the issues is fixed

> Support for IOS 10
> ------------------
>
>                 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
>              Labels: iOS10, newbie
>
> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org