1

I am aware if it is possible to wake up an app when the user is close it a beacon. It know it is possible to do it on iOS. I have not found a clear solution on the web. Do you know if it is possible?

Community
  • 1
  • 1
poiuytrez
  • 21,330
  • 35
  • 113
  • 172

1 Answers1

0

Yes, it is possible with the open source Android Beacon Library. It works by starting a low-power background beacon scanning service for your app when the phone boots, or when it is connected/disconnected from power.

Details about how you set this up, how it works, and its limitations are available here.

davidgyoung
  • 63,876
  • 14
  • 121
  • 204
  • So this answer kind of skirts the real question IMO. If the Android Beacon Library is starting a service when it the phone boots or is charging, then the app is running, just not with a visible Activity. If the user were to force close the app it would stop scanning. Does seem like a reasonable solution because the user is unlikely to even know it is running. Big concern is the battery drain which I do not know how much of a drain this would be. – Patrick Jackson Jul 14 '15 at 15:33