Git Product home page Git Product logo

Comments (8)

alexlopespereira avatar alexlopespereira commented on July 18, 2024

I thought I made some mistake implementing the setup for iOS, but it doesn't seems to be the case. Because I've download the example project from here https://github.com/rekab-app/background_locator/tree/master/example and the same behavior happens on iOS (many many calls to the callback).

Look at the example project running on iOS and take a look at the interval between acquisitions. I scheduled for an interval of some minutes.

image

How could we prevent this from happening?

from background_locator.

mehdok avatar mehdok commented on July 18, 2024

Are you testing on emulator or real device?
Please give me all the information about testing environment, Include Xcode version, iOS version, real device name or simulator, etc.

Also there is GpsiesTrack.gpx in the example project, Are you sure that you are not using it as mock location?

from background_locator.

alexlopespereira avatar alexlopespereira commented on July 18, 2024

Hi @mehdok I'm testing on a real device, iPhone X, iOS13, Xcode 11.4.1

I'm quite sure I'm not using the GpsiesTrack.gpx file, because these points in the image are the points where I was at the time I ran the app.

from background_locator.

mehdok avatar mehdok commented on July 18, 2024

This behavior from a real iOS device is really strange. I tried to replicate this situation with iPhone7 and iPhone XS Max, But the they act very normal.

from background_locator.

alexlopespereira avatar alexlopespereira commented on July 18, 2024

from background_locator.

wemersonrv avatar wemersonrv commented on July 18, 2024

@alexlopespereira this problem still happens?

Here i have the same issue... So get the example project and run and receive a lot of captures too, just like you.

I thing this problem is the cause of of another issue i had a couple of days ago about high battery consumption ... this issue: #51

Now all makes sense. Over-capture, of course, is pushing the battery a lot. Now it's only a matter of time before Apple screams! 😭 😂 😇

from background_locator.

mehdok avatar mehdok commented on July 18, 2024

@alexlopespereira @wemersonrv Please test the new version to see if the problem is gone or not.

from background_locator.

mehdok avatar mehdok commented on July 18, 2024

This should be fixed by #87 ;

from background_locator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.