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

Location tracking doesn't work #8428

Closed
yperess opened this issue Mar 15, 2017 · 10 comments
Closed

Location tracking doesn't work #8428

yperess opened this issue Mar 15, 2017 · 10 comments
Assignees
Labels
Android Mapbox Maps SDK for Android

Comments

@yperess
Copy link

yperess commented Mar 15, 2017

Platform: Android 7.1.2 on Nexus 5x
Mapbox SDK version: 5.0.0-beta.3

Steps to trigger behavior

  1. Download the Mapbox Dev Preview App
  2. Navigate to the "User location" page
  3. Open the "Track user location" demo

Expected behavior

The my location marker should be visible and the map should follow it

Actual behavior

I find myself in the middle of Africa (I'm not actually there)

@tobrun
Copy link
Member

tobrun commented Mar 16, 2017

beta.3 hasn't been published yet, see this PR here, feel free to create issues for the demo on that repo. The mentioned issue should be fixed with #8255. Thank you for reaching out, closing this as already resolved.

@tobrun tobrun closed this as completed Mar 16, 2017
@yperess
Copy link
Author

yperess commented Mar 16, 2017 via email

@tobrun tobrun reopened this Mar 16, 2017
@tobrun
Copy link
Member

tobrun commented Mar 16, 2017

Thank you for adding that information,
let me try reproducing this use-case,
thanks again for taking time to report this issue!

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Mar 16, 2017
@tobrun
Copy link
Member

tobrun commented Mar 16, 2017

Confirmed that we only receive Last Known Location and do not receive any follow up events. Adding this to the milestone to be fixed before final release.

@tobrun tobrun added this to the android-v5.0.0 milestone Mar 16, 2017
@tobrun tobrun self-assigned this Mar 16, 2017
@tobrun
Copy link
Member

tobrun commented Mar 17, 2017

Been debugging this on the SDK side and even after specifically requesting for location updates we are not receiving them. I tested the LocationEngine feature in mapbox-java and seeing the same behavior there. Going to create an issue upstream.

@tobrun
Copy link
Member

tobrun commented Mar 17, 2017

Issue created upstream in mapbox/mapbox-java#392

@tobrun
Copy link
Member

tobrun commented Mar 17, 2017

ezgif com-video-to-gif 27

@yperess
Copy link
Author

yperess commented Mar 17, 2017

Nice! Will this be in beta 4?

@tobrun
Copy link
Member

tobrun commented Mar 17, 2017

this will be in the next release, merged with #8445

@tobrun tobrun closed this as completed Mar 17, 2017
@albert0m
Copy link

I never receive the onLocationChanged events when I change location. I copied and pasted the code from the example, I only get the lastLocation at the beginning. What could it be?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

No branches or pull requests

3 participants