transistorsoft / flutter_background_geolocation

Sophisticated, battery-conscious background-geolocation & geofencing with motion-detection
https://www.transistorsoft.com/shop/products/flutter-background-geolocation
Other
652 stars 240 forks source link

[help] can we simulate routes for emulators ? #1327

Closed Alvish0407 closed 4 months ago

Alvish0407 commented 4 months ago

I'm trying to simulate routes in emulator, but doesn't seem to be working. Or am i doing anything wrong here ? I have to manually change the pace bg.BackgroundGeolocation.changePace() to get the live location.

image
christocracy commented 4 months ago

That’s right, as documented in the wiki “Debugging”. The simulator fails to detect when the device is moving. You cannot experience the true behaviour of this plug-in in the emulator. It’s best to test on a real device with real movement.