Search code examples
androidgeolocationgeofencingandroid-geofence

Library to update more than 100 geofence


I know that there is a technique to update more than 100 geofence to google api client. But I want a complete solution to add more than 100 geofence or any library to achieve it. I already done my project using google api client. But there is limitation off 100 geofence only.

Is there any library or any other technique to update more than 100 geofence?

And all these process should run in background. I mean even after application process is killed, this should run in background. Is it possible?

Thanks in advance.


Solution

  • The issue with having more than 100 geofences is that depending on how close they are in proximity to the user and how many geofences you actually have, it can become a serious battery drain due to constant location polling. I'm not sure how you plan to implement your geofences, but I would suggest you look into loading only geofences within your immediate and surrounding area, storing the rest into a database, and loading/unloading depending on your current location and distance from the edge of the geofences. Bing came up with this nice tiling system that may come in handy for you.