diff --git a/AmplitudeService.xcodeproj/project.pbxproj b/AmplitudeService.xcodeproj/project.pbxproj index a94774a..267912b 100644 --- a/AmplitudeService.xcodeproj/project.pbxproj +++ b/AmplitudeService.xcodeproj/project.pbxproj @@ -659,7 +659,7 @@ GCC_WARN_UNUSED_LABEL = YES; GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.1; + IPHONEOS_DEPLOYMENT_TARGET = 17.6; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; LOCALIZED_STRING_MACRO_NAMES = ( NSLocalizedString, @@ -765,7 +765,7 @@ GCC_WARN_UNUSED_LABEL = YES; GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.1; + IPHONEOS_DEPLOYMENT_TARGET = 17.6; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; LOCALIZED_STRING_MACRO_NAMES = ( NSLocalizedString, diff --git a/AmplitudeServiceKit/AmplitudeService.swift b/AmplitudeServiceKit/AmplitudeService.swift index 1d38514..3c19bf8 100644 --- a/AmplitudeServiceKit/AmplitudeService.swift +++ b/AmplitudeServiceKit/AmplitudeService.swift @@ -11,7 +11,7 @@ import LoopKit public final class AmplitudeService: Service { - public static let pluginIdentifier = "AmplitudeService" + public let pluginIdentifier = "AmplitudeService" public static let localizedTitle = LocalizedString("Amplitude", comment: "The title of the Amplitude service") diff --git a/AmplitudeServiceKitUI/AmplitudeService+UI.swift b/AmplitudeServiceKitUI/AmplitudeService+UI.swift index c244599..087e115 100644 --- a/AmplitudeServiceKitUI/AmplitudeService+UI.swift +++ b/AmplitudeServiceKitUI/AmplitudeService+UI.swift @@ -18,12 +18,12 @@ extension AmplitudeService: ServiceUI { UIImage(named: "amplitude_logo", in: Bundle(for: AmplitudeServiceTableViewController.self), compatibleWith: nil)! } - public static func setupViewController(colorPalette: LoopUIColorPalette, pluginHost: PluginHost) -> SetupUIResult + public static func setupViewController(colorPalette: LoopUIColorPalette, pluginHost: PluginHost, allowDebugFeatures: Bool) -> SetupUIResult { return .userInteractionRequired(ServiceNavigationController(rootViewController: AmplitudeServiceTableViewController(service: AmplitudeService(), for: .create))) } - public func settingsViewController(colorPalette: LoopUIColorPalette) -> ServiceViewController + public func settingsViewController(colorPalette: LoopUIColorPalette, allowDebugFeatures: Bool) -> ServiceViewController { return ServiceNavigationController(rootViewController: AmplitudeServiceTableViewController(service: self, for: .update)) }