diff --git a/LocationServices/LocationServices/AppDelegate.swift b/LocationServices/LocationServices/AppDelegate.swift index 5ba2ef65..273de7b8 100644 --- a/LocationServices/LocationServices/AppDelegate.swift +++ b/LocationServices/LocationServices/AppDelegate.swift @@ -23,10 +23,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { //init keyboard observer let _ = KeyboardObserver.shared SettingsDefaultValueHelper.shared.createValues() - - // debug logger for AWS - //AWSDDLog.sharedInstance.logLevel = .debug - //AWSDDLog.add(AWSDDTTYLogger.sharedInstance) + Reachability.shared.startMonitoring() @@ -42,10 +39,4 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // Use this method to select a configuration to create the new scene with. return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) } - - func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { - // Called when the user discards a scene session. - // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. - // Use this method to release any resources that were specific to the discarded scenes, as they will not return. - } } diff --git a/LocationServices/LocationServices/iot/MqttIoTContext.swift b/LocationServices/LocationServices/iot/MqttIoTContext.swift index 6a570337..6b61b49b 100644 --- a/LocationServices/LocationServices/iot/MqttIoTContext.swift +++ b/LocationServices/LocationServices/iot/MqttIoTContext.swift @@ -32,8 +32,6 @@ class MqttIoTContext: ObservableObject { public var client: Mqtt5Client? /// Print the text and pending new message to message list func printView(_ txt: String) { - let newMessage = Message(id: messages.count, text: txt) - self.messages.append(newMessage) print(txt) } diff --git a/LocationServices/LocationServicesUITests/TrackingUITests.swift b/LocationServices/LocationServicesUITests/TrackingUITests.swift index bddebbc7..eabb37e1 100644 --- a/LocationServices/LocationServicesUITests/TrackingUITests.swift +++ b/LocationServices/LocationServicesUITests/TrackingUITests.swift @@ -90,9 +90,6 @@ final class TrackingUITests: LocationServicesUITests { let _ = trackingUIScreen .waitForGeofenceExitedAlert(geofenceName: geofenceName) - - Thread.sleep(forTimeInterval: 1) - XCUIDevice.shared.location = .init(location: Constants.trackingPoints[1]) let _ = trackingUIScreen .tapStopTrackingButton()