Add plugin parameter to corelocation to prevent auto-pause on iOS


This adds the parameter allowAutoPause to the corelocation backend
which modifies m_locationManager.pausesLocationUpdatesAutomatically.

This is needed to enable location sharing apps.
As the default behaviour of iOS is to pause positioning updates once
a user stays at the same spot for a longer time period.
By setting this parameter to false, positioning updates will continue.

[ChangeLog][QGeoPositionInfo][iOS] Intoroduce a plugin parameter
that allows to control the location update behavior when an
application is moved to the background. By default the updates are
stopped in such case to align with the default iOS behavior, and
also for backwards compatibility.

Change-Id: I56b96246f7022173bfbfa0a3c904e23ba9227b97
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commitaa3be9b00421e2bf7acaa6f65367b79391a1b695
parenta2f960416d26710e7db9b9f5d024c061c80d1327
authorHannah von Reth <vonreth@kde.org>
committerHannah von Reth <vonreth@kde.org>
commit timeThu, 1 Oct 2026 10:14:03 +0000