Thanks, Albert. One clarification: the issue does not occur during a normal user-initiated force quit.
If the user force-quits the app while the CLBackgroundActivitySession is active, the blue location indicator is removed as expected.
The issue occurs specifically during an in-place app update:
The installed version starts a CLBackgroundActivitySession.
While that session is active, a newer version is installed over the existing app.
After the process replacement, the blue location indicator remains visible.
Force-quitting the newly installed version does not remove it.
Only restarting the device clears the indicator.
It therefore appears that the assertion belonging to the previous app process becomes orphaned during the update. The newly installed process has no reference to that session and cannot invalidate it.
We have submitted a focused sample project and a sysdiagnose through Feedback Assistant:
FB24182791 — Blue location indicator remains after in-place app update with active CLBackgroundActivitySession
Thanks again for pointing us in the right direction.
Topic:
App & System Services
SubTopic:
Maps & Location
Tags: