Search code examples
iosswiftskmaps

Skobbler background mode without SKTNavigationManager


I'm developing an IOS app in swift language with the Skobbler navigation SDK. I try to allow the user to use navigation while in background mode (IPhone locked).

I have question stated below :

1) Is it possible to do so without using the SDKTools and the SKTNavigationManager ? We only use SKMaps.frameworks functions.

With this configuration, I can't use the allowBackgroundNavigation property of SKTNavigationConfiguration like in the demo.

I set SKPositionerService.sharedInstance().worksInBackground = true

and allowed the "location Update in BackgroundMode" to the info.plist. Unfortunately the updateCurrentLocation doesn't triggered in background and navigation doesn't works neither.

Thank you very much in advance :-) !!


P.S. : I succeeded to run a short code in background with the official library CCLocationManager. So my app seems correctly configured...


Solution

  • The hotfix for this issue can be downloaded from here:

    ObjC: https://www.dropbox.com/s/ruk6at2fju0rdd7/SKMaps_2_5_1.zip?dl=0

    Swift: https://www.dropbox.com/s/lgbdherhqzudy2a/SKMapsSwift_2_5_1.zip?dl=0