marinofaggiana 4 жил өмнө
parent
commit
0798aef106

+ 1 - 1
iOSClient/Networking/NCAutoUpload.swift

@@ -45,9 +45,9 @@ class NCAutoUpload: NSObject, CLLocationManagerDelegate {
             locationManager = CLLocationManager.init()
             locationManager?.delegate = self
             locationManager?.distanceFilter = 100
-            locationManager?.requestAlwaysAuthorization()
         }
         
+        locationManager?.requestAlwaysAuthorization()
         locationManager?.startMonitoringSignificantLocationChanges()
     }