[ https://issues.apache.org/jira/browse/CB-11871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shibi Nirappel Sridhran updated CB-11871:
-----------------------------------------
Labels: iOS10 newbie (was: newbie)
> 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
|