0 Replies
      Latest reply on Apr 16, 2019 6:50 AM by Haggler
      Haggler Level 1 Level 1 (0 points)

        My app performs different calculations depending on the speed of the vehicle and it is for this reason it require constant monitoring of velocity even if the app is running in the background. The app functions well when in foreground mode but it loses its accuracy in the background if there are significant velocity changes.

         

        Users grant me "Location Always Usage Permission" as I ask for it in the info.plist file but the app still loses its accuracy in background mode when compared to what it calculates when the app is in the foreground.

         

        I know there is a 15-minute background limit before iOS kills it but my app fails to do veolicty calculations accurately well before iOS kills it.

         

        Any advice on how to solve or debug this problem?

        I have been reading Apple Developer Guide here:   https://developer.apple.com/library/archive/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html