- Home /
GPS not working the same in every device (android-ios)
Hello!
I am using GPS on one of my projects and I'm having some problems.
First of all my device is a Xiaomi 4X and my friend's device is a Samsung ON5.
I'm using MAPBOX. I'm using LocationService.Start.
When I use LocationService.isEnabledByUser:
On my device the return is true IF my gps is on AND IF my gps if off On my friend device return is true IF gps is on AND return is false if gps is OFF
LocationServiceStatus is: On my device: always STOPPED.
The map of map box AND GPS WORK (i can track position) is load : On my device: mapbox load every time and I can track position, with gps on or off and LocationServiceStatus being stopped. the map will load everytime
On my friend's device: only with gps on. When gps is off the map will not load and I cant track position.
Can you help me? Why in my device the map is loaded and I can track position on my device when gps is off???
The gps work different in different devices?
I am really confused about it.
Your answer
![](https://koobas.hobune.stream/wayback/20220612151328im_/https://answers.unity.com/themes/thub/images/avi.jpg)