Skip to content

Commit

Permalink
Removed unecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanmakeen committed Oct 7, 2024
1 parent a43287c commit 577b736
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
11 changes: 1 addition & 10 deletions LocationServices/LocationServices/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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<UISceneSession>) {
// 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.
}
}
2 changes: 0 additions & 2 deletions LocationServices/LocationServices/iot/MqttIoTContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 577b736

Please sign in to comment.