Just watched the session about new location capabilities: https://developers.google.com/events/io/sessions/325337477 and think that feature of GEOFENCES will be a good fit for my app. I also downloaded the demo app which while quite informative is not giving me the functionality I am looking for. So could someone please explain me or point me to some example on how could I add a geofencing detection to the app that works while the app is off. If you have seen the IO session and noticed the app Zillo that is what I am talking about.
What I know by now is that I don't want to use a constantly running service in the background that detects TRANSITION broadcast but would like to register for them in the manifest file and than handle them inside a broadcast receiver class. Something like you would do when using GCM messaging. So the questions are:
What broadcast needs to be registered in the manifest? When should I register my fences so they are registered only once and stay registered when the app is closed? Are there any pointers on how to optimize battery life in a case like this? If someone already has experience what radius for a geofence would you suggest to detect entering a large building (3000-5000 sqm ground floor area for example)?