100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Updated cocoapod
Michael Rademakerb2bc51e7c991
diff --git a/console/iOS/ORLib/ORLib.podspec b/console/iOS/ORLib/ORLib.podspecindex 28c59a5f7..c50c7a567 100644--- a/console/iOS/ORLib/ORLib.podspec+++ b/console/iOS/ORLib/ORLib.podspec@@ -10,7 +10,7 @@ Pod::Spec.new do |s|s.name = "ORLib"s.summary = "The OpenRemote library to create console apps."s.requires_arc = true- s.version = '1.1.1'+ s.version = '1.1.2's.authors = 'OpenRemote's.homepage = "http://www.openremote.io"s.source = { :git => 'https://github.com/openremote/openremote.git', :tag => 'cocoapod' + s.version.to_s }diff --git a/console/iOS/ORLib/ORLib/ORAppDelegate.swift b/console/iOS/ORLib/ORLib/ORAppDelegate.swiftindex 96d93d5b8..cfffd94a6 100644--- a/console/iOS/ORLib/ORLib/ORAppDelegate.swift+++ b/console/iOS/ORLib/ORLib/ORAppDelegate.swift@@ -194,7 +194,7 @@ extension ORAppDelegate : UNUserNotificationCenterDelegate {switch response.actionIdentifier {case UNNotificationDefaultActionIdentifier,- "pushAction" :+ "openURLAction" :if let notiId = notificationId, let conId = consoleId {ORNotificationResource.sharedInstance.notificationAcknowledged(notificationId: notiId, targetId: conId, acknowledgement: "acknowledged")}@@ -218,7 +218,8 @@ extension ORAppDelegate : UNUserNotificationCenterDelegate {}}}- case UNNotificationDismissActionIdentifier:+ case UNNotificationDismissActionIdentifier,+ "declineAction":if let notiId = notificationId, let conId = consoleId {ORNotificationResource.sharedInstance.notificationAcknowledged(notificationId: notiId, targetId: conId, acknowledgement: "dismissed")}diff --git a/console/iOS/ORLib/ORLib/ORNotificationService.swift b/console/iOS/ORLib/ORLib/ORNotificationService.swiftindex 81a0f1a6f..29767a260 100644--- a/console/iOS/ORLib/ORLib/ORNotificationService.swift+++ b/console/iOS/ORLib/ORLib/ORNotificationService.swift@@ -74,8 +74,10 @@ open class ORNotificationService: UNNotificationServiceExtension, URLSessionDelebestAttemptContent.userInfo[ActionType.openInBrowser] = action.openInBrowserbestAttemptContent.userInfo[ActionType.httpMethod] = action.httpMethod ?? "GET"bestAttemptContent.userInfo[DefaultsKey.dataKey] = action.data ?? "null"+ notificationActions.append(UNNotificationAction(identifier: "openURLAction", title: button.title, options: UNNotificationActionOptions.foreground))+ } else {+ notificationActions.append(UNNotificationAction(identifier: "declineAction", title: button.title, options: UNNotificationActionOptions.foreground))}- notificationActions.append(UNNotificationAction(identifier: "pushAction", title: button.title, options: UNNotificationActionOptions.foreground))}let category = UNNotificationCategory(identifier: categoryName, actions: notificationActions, intentIdentifiers: [], options: [])