Open Rossella-Mascia-Neosyn opened 1 month ago
That is correct. When the backgroundMessage
options is specified, location updates are delivered in both the foreground and the background. You could call App.getState()
and ignore location updates that arrive in the foreground?
That is correct. When the
backgroundMessage
options is specified, location updates are delivered in both the foreground and the background. You could callApp.getState()
and ignore location updates that arrive in the foreground?
ahh okok very clear, thank you. I have other questions:
This plugin is not a background runner right? and consequently does not have the limitation that sends the location every 15 minutes? https://capacitorjs.com/docs/apis/background-runner#limitations-of-background-tasks
I can’t figure out why there is no local notification, what could be my mistake?
Describe the bug When the app starts I call the watch but it is called in the foreground and not in the background
To Reproduce
Expected behavior the expected behavior should be that it is only called in the background
Screenshots
https://github.com/user-attachments/assets/ee1a9e4d-9470-4ebe-8983-8081f621a2d1
Desktop (please complete the following information):
Smartphone (please complete the following information):