Skip to content

iOS - Track distance - Route line not drawn after backgrounding app during GPS tracking #98965

Description

@melvin-bot

Problem
When tracking distance via GPS, if the app is backgrounded for an extended period during the trip and then reopened after the trip finishes, the route line is not drawn on the map. The map view is missing the route until the app is fully closed and reopened.

Platform: iOS

Steps to reproduce

  1. Start GPS distance tracking.
  2. Background the app and go on a trip (extended time backgrounded).
  3. Finish the trip and reopen the app.
  4. Observe the map — the route line is not drawn.

Expected result
The route line should be drawn on the map when returning to the app after the trip.

Actual result
The route line is missing. Fully closing and reopening the app draws the route line correctly.

Notes
Suspected to be related to map layer ordering on iOS, specific to the GPS map view variant (the route line draws correctly on the confirmation screen). A fix is already in progress and this issue is being created to link that PR.

Reported in Slack.

Issue OwnerCurrent Issue Owner: @dukenv0307

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions