Hello,
I would like to use the location sensor to alert me when I am a certain distance from a particular address. I have a couple of questions
- Can the location sensor work of the app is not opened?
- What is the minimum distance it needs to recognize a change?
Thanks
Had another basic question - once we set the maximum age, we have to call getcurrentlocation to get a new position
I mean that as a question
Yes, correct. The location sensor will not automatically generate data. You have to call it each time but you can add it to a loop or timer.
Thanks. And the loop can be added in the opening screen? Sorry to bother you so much
You can place a loop anywhere you like such as inside a when screen opens
block.
Is there any way for an alert to be shown when app is ope but in background?
I believe you can use One Signal for that. I haven’t tried it myself, though.