@craft-native/ios 0.0.103 → 0.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/CraftApp.swift +4 -0
package/package.json
CHANGED
package/templates/CraftApp.swift
CHANGED
|
@@ -4264,6 +4264,10 @@ struct CraftWebView: UIViewRepresentable {
|
|
|
4264
4264
|
}
|
|
4265
4265
|
isLocationRecordingPaused = false
|
|
4266
4266
|
persistLocationRecordingState()
|
|
4267
|
+
// Set here too: a recording restored at launch while paused never
|
|
4268
|
+
// got a delegate, so resuming it started updates nobody received
|
|
4269
|
+
// and the route stopped at the pause.
|
|
4270
|
+
locationManager?.delegate = self
|
|
4267
4271
|
requestLocationAuthorization()
|
|
4268
4272
|
configureBackgroundLocationIfNeeded()
|
|
4269
4273
|
locationManager?.startUpdatingLocation()
|