         self.locationProvider = locationProvider
         self.networkLayer = networkLayer
         
+        if #available(iOS 12.0, *) {
+            setupPathMonitor()
+        }
         addUpdateOperation(with: interval)
     }
 

    private var locationProvider: LocationProvider
    private var networkLayer: NetworkLayer
    private var idProvider: IDProvider

    private let operationQueue: OperationQueue = {
        let queue = OperationQueue()


import os.log
import UIKit
import Network

public class RequestManager {
    private struct SendMessagePostBody: Codable {
