Device stop updating when not moving in debug version

Shifaa year ago

Hi,
I tried traccar client android app

  1. with play store version - test1
  2. debug version - test2

The play store version updates location even when device is not moving, but the debug version updates only when device is moving, Why?
https://drive.google.com/file/d/1rAuVS5E7afEW1dJenfA7RubG1zkUrSZS/view?usp=drivesdk

Anton Tananaeva year ago

Are you building the Google flavor?

Shifaa year ago

No I’m not able to build google flavor, as there is no json file in git code.
So I downloaded from play store

Anton Tananaeva year ago

Obviously you have to provide your own JSON.

Shifaa year ago

Ok , I will do that
But what is causing this difference.

Anton Tananaeva year ago

Location provider is different, so that could be one of the reasons.

Shifaa year ago

Ok, instead of adding goggle flavor, in my code not the above one ,I replaced the location manager code (debug) with fused code(google). Is it ok to do that or the flavor part is handling something more than this ,to better add it?