-
Notifications
You must be signed in to change notification settings - Fork 246
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
In ios real device once killed the app, location is not triggered while moving #1398
Comments
I suggest you test your iOS app in the simulator with location simulated with “Freeway Drive”. |
I tested in simulator with location simulated with “Freeway Drive” and it is working fine . but in real device the location is not triggered even after 200m by walk in killed state. I set the debug is true.(debug: true,) I should see the notification for moving state in ios in killed state correct? I am getting lot of notification once i came back to stationary state. while moving state no notification. |
Is my config which i showed above is correct? |
There is nothing unusual about your Config. |
but why it is not working in ios after killed the application. |
If I knew that, I'd have told you already. I have no idea what you're doing wrong. I do not have this problem with the demo app. I can terminate the demo app and be 100% confident that the app will resume tracking after moving about 200 meters. LIke I said above:
Have you done this? |
Also see this video demonstrating terminating the app running in the simulator. |
I installed the app in simulater. I enabled simulators-> features -> loaction -> freeway drive. once i enabled automatically the location gets triggered. once is killed the app i show the notifications and sounds for movements |
exactly this is what i am doing. |
What does "enabled automatically the location" mean? |
i mean , the location triggered automattically for specific intervals once i covered the distance filter |
I don’t know what this means |
Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted) sometimes i got the able error. Is this is the reason for the above mentioned one? incase yes, how to solve this? |
I suggest you install the /example app in this repo and go outside to test. Use the “Advanced app” after install. you don’t need to look at the code. Just install, launch, enable the switch in the top toolbar, then go outside to test. |
I have never heard of that before. The plugin does not do anything related to the UI (ie: GPU). this is likely related to your own application code. |
Your Environment
flutter doctor
):Expected Behavior
while app is in fore ground and background it is working fine. but when i killed the app it is not trigged the location even i moved more than 200 m. Also notification are not comming. After a long disitance (may be 500 m) , when i am stationary for 10 seconds, that time only i recieve lot of notifications.those notifications are not releated to moving state. those are some releated to "MOTION TRIGGERED DELAY ENGAGED" some thing like that.
NOTE: I called config every time app reopens.
Actual Behavior
In ios real device once killed the app, location should trigger while moving
Steps to Reproduce
Context
Debug logs
Logs
The text was updated successfully, but these errors were encountered: