nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 697 forks source link

[Android] onUserLocationUpdate doesn't fire sometimes #1569

Closed alisherakb closed 5 years ago

alisherakb commented 5 years ago

Quite often onUserLocationUpdate event doesn't work on Android. The iOS app works ok.

"react-native": "^0.57.3", "@mapbox/react-native-mapbox-gl": "https://github.com/mapbox/react-native-mapbox-gl.git#master"

kristfal commented 5 years ago

This is likely upstream issue with mapbox-gl-native or an issue with the android device/emulator itself. In order to determine this, you'll need to provide more info. Ex:

Device type (or emulator?) Does other apps (Ex: google maps) get location updates? Are you indoors? Are you moving? Are permissions correctly set?

Due to lack of issue details, I'll close this. Feel free to reopen if you can provide additional info.

alisherakb commented 5 years ago

This is likely upstream issue with mapbox-gl-native or an issue with the android device/emulator itself. In order to determine this, you'll need to provide more info. Ex:

Device type (or emulator?) Does other apps (Ex: google maps) get location updates? Are you indoors? Are you moving? Are permissions correctly set?

Due to lack of issue details, I'll close this. Feel free to reopen if you can provide additional info.

Device type (or emulator?)

alisherakb commented 5 years ago

@kristfal Any updates?