From 765b0275158e2715048d42b4795c994bcae17023 Mon Sep 17 00:00:00 2001 From: Dan Cunningham Date: Fri, 28 Jun 2024 19:35:50 -0700 Subject: [PATCH] Small fixes for v2 (#769) Signed-off-by: Dan Cunningham --- NotificationService/NotificationService.swift | 2 +- openHAB.xcodeproj/project.pbxproj | 8 ++++---- openHAB/openHAB-Info.plist | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/NotificationService/NotificationService.swift b/NotificationService/NotificationService.swift index 19c40cb87..654a59c9f 100644 --- a/NotificationService/NotificationService.swift +++ b/NotificationService/NotificationService.swift @@ -32,7 +32,7 @@ class NotificationService: UNNotificationServiceExtension { let title = actionDict["title"] { var options: UNNotificationActionOptions = [] // navigate options need to bring the app forward - if action.hasPrefix("navigate") { + if action.hasPrefix("ui") { options = [.foreground] } let notificationAction = UNNotificationAction( diff --git a/openHAB.xcodeproj/project.pbxproj b/openHAB.xcodeproj/project.pbxproj index abf014a22..7f9d2ade9 100644 --- a/openHAB.xcodeproj/project.pbxproj +++ b/openHAB.xcodeproj/project.pbxproj @@ -2158,7 +2158,7 @@ CODE_SIGN_ENTITLEMENTS = openHAB/openHAB.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1580410538; + CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = PBAPXHRAM9; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "openHAB/openHAB-Prefix.pch"; @@ -2173,7 +2173,7 @@ "@loader_path/../../Frameworks", ); LIBRARY_SEARCH_PATHS = "$(inherited)"; - MARKETING_VERSION = 2.4.60; + MARKETING_VERSION = 1.0.0; OTHER_SWIFT_FLAGS = "$(inherited) -DDEBUG -Xfrontend -warn-long-expression-type-checking=200 -Xfrontend -warn-long-function-bodies=200"; PRODUCT_BUNDLE_IDENTIFIER = org.openhab.app; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -2201,7 +2201,7 @@ CODE_SIGN_ENTITLEMENTS = openHAB/openHAB.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1580410538; + CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = PBAPXHRAM9; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "openHAB/openHAB-Prefix.pch"; @@ -2216,7 +2216,7 @@ "@loader_path/../../Frameworks", ); LIBRARY_SEARCH_PATHS = "$(inherited)"; - MARKETING_VERSION = 2.4.60; + MARKETING_VERSION = 1.0.0; PRODUCT_BUNDLE_IDENTIFIER = org.openhab.app; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; diff --git a/openHAB/openHAB-Info.plist b/openHAB/openHAB-Info.plist index d7dd64fd4..c38c3a869 100644 --- a/openHAB/openHAB-Info.plist +++ b/openHAB/openHAB-Info.plist @@ -88,8 +88,6 @@ UIBackgroundModes - fetch - processing remote-notification UILaunchStoryboardName