android-geofence

Android Geofence eventually stop getting transition intents

故事扮演 提交于 2019-11-26 05:22:34
问题 I have an app that started with the Google\'s geofencing sample code. It works great for a few days, and I get all the transition intents as I anticipate. However, after a bit of time, something like 3 days, the app stops getting these intents, and I don\'t know why. When I create my fences, I\'m setting the expiration duration to Geofence.NEVER_EXPIRE Here is my IntentService where I get the transition intents before they stop working: public class ReceiveTransitionsIntentService extends