-
Notifications
You must be signed in to change notification settings - Fork 320
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
Getting unwanted hundreds of point acquisitions on iOS #55
Comments
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. How could we prevent this from happening? |
Are you testing on emulator or real device? Also there is |
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. |
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. |
Did you manage to setup triggers to some minutes? I created my environment
again and updated my flutter to 1.17 and it stopped triggering hundreds of
times. But it does not take into account the interval setting. The period
between the triggers keeps been 1 second no matter what.
…On Sun, May 10, 2020 at 2:03 AM mehdi sohrabi ***@***.***> wrote:
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSSDDVDB2GGSMF7RSECUCLRQYYSVANCNFSM4MYLBHTA>
.
|
@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! 😭 😂 😇 |
@alexlopespereira @wemersonrv Please test the new version to see if the problem is gone or not. |
This should be fixed by #87 ; |
I have an app which is working fine on Android but it is calling the callback functions hundreds of times at each second.
How could I prevent such a behaviour?
Shoud I update the UI in order to dismiss the trigger event?
I'm using this code for setup:
The text was updated successfully, but these errors were encountered: