At first I thought my code will work. When app has entered background there was a iOS question: "App is using your location in background, do you agree?" I hit YES and this was a good sign, but only for some 20 minutes.
I'm not sure about longer execution time, after all it only needs to collect GPS data.
Fetch background mode says system will wake up app periodically when conditions are good (network and power conditions) and I can use setMinimumBackgroundFetchInterval
Here is the use case with exactly what I want
However, how should I know how these iOS system requests are translated into Qt libs ?
There are applicaions like Strava
That can record your position during activity so there must be a way to do it.
When I submitted the app to AppStore they have rejected it with information that I have background mode enabled but the app has no functionality to use it, I have explained them how it works and I'm waiting for reply.
Are here developers writing apps especially for iOS ?
Maybe I should write the part of receiving GPS data and possibly sending updates in Objective_c ?