Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating positions when there is no internet #212

Closed
joaofjunior opened this issue Mar 27, 2020 · 5 comments
Closed

Floating positions when there is no internet #212

joaofjunior opened this issue Mar 27, 2020 · 5 comments
Labels

Comments

@joaofjunior
Copy link

joaofjunior commented Mar 27, 2020

Your Environment

  • Plugin version: ^1.5.0
  • Platform: Android
  • OS version: 9
  • Device manufacturer / model: Samsung A20
  • Flutter info (flutter doctor):
    [√] Flutter (Channel beta, v1.15.17, on Microsoft Windows [versão 10.0.18362.720], locale pt-BR)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Chrome - develop for the web
[!] Android Studio (version 3.6)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.43.2)
[√] Connected device (2 available)

  • Plugin config:
bg.Config(
            desiredAccuracy: bg.Config.DESIRED_ACCURACY_HIGH,
            distanceFilter: 10.0,
            stopOnTerminate: true,
            startOnBoot: false,
            debug: false,
            allowIdenticalLocations: false,
            disableElasticity: true,
            foregroundService: true,
            isMoving: true,
            logLevel: bg.Config.LOG_LEVEL_INFO,
            reset: true)

Expected Behavior

Get the user's location every 10 meters. The user keeps the app open during the journey.

Actual Behavior

By the tests performed, he takes the positions correctly while he has internet ... when he is on a road without internet the positions are fluctuating ... See attached image

Image:
https://ap.imagensbrasil.org/image/rC2EDj

Steps to Reproduce

Context

Debug logs

Logs

@christocracy
Copy link
Member

Gps doesn’t require a network to work. It only needs an unobstructed view of the sky to connect to gps satellites in space.

Check device settings->location.

@joaofjunior
Copy link
Author

The location option is active, not least because the app takes the location, but in some cases (not all) it takes points outside the route taken.

In the API documentation we have the following:
DESIRED_ACCURACY_HIGH GPS + Wifi + Cellular Highest power; highest accuracy

Is there an order for him to take it?
Is there any option for him to take only the GPS?

@christocracy
Copy link
Member

Is there any option for him to take only the GPS?

No. The operating system does this automatically, providing the best available location.

@stale
Copy link

stale bot commented May 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.

@stale stale bot added the stale label May 26, 2020
@stale
Copy link

stale bot commented Jun 2, 2020

Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you.

@stale stale bot closed this as completed Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants