I have a list of coordinates in a database identified as a POI. For a city, there may be> 100 entries.
I would like to receive a notification when the phone falls into a distance of 150 meters from one of the places. Location coordinates also have an error / radius, usually from 10 to 100 meters. Since I do not consider it appropriate to add each location (maybe hundreds) for the trigger, how can I optimize the wakeup code?
Also, are there any options to remove a previously defined notification from the queue?
source
share