Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Location requests remain on after app is hidden #8787

Closed

Description

@langsmith

Test app:
98c3a10a-2517-11e7-8394-33738f140d9f

Platform: Android
Mapbox SDK version: 5.0.2

Steps to trigger behavior

  1. open your Dev-app and open any view, where the GPS-position is needed
  2. Now close this view and/or minimize the whole app
  3. As you can see in the upper infos from Android (where the time and signal strength is shown), there is also the GPS-icon
  4. It only disappears, if you kill the „Mapbox Dev“-app

Expected behavior

location tracking stops once app is hidden

Actual behavior

location tracking continues even if app isn't in foreground

Activity

  1. added
    Android
    on Apr 20, 2017
  2. zugaldia commented on Apr 20, 2017

    @zugaldia
    Member
  3. tobrun commented on Apr 20, 2017

    @tobrun
    Member

    Looks like this was already reported in #8683. That issue has been added to the v5.1.0 milestone and should get addressed for next release. Will add a comment to #8683 for visibility. Closing as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions