The Google Nearby library allows publishing in the background for iOS (stated here) using BLE only. What is the reason for not allowing Android to have the same capability, and will it ever be supported?
Asked
Active
Viewed 1,017 times
4
-
I wonder if this is possible if you display a foreground notification. Could easily add controls to allow the user to turn it off. – Markymark Nov 14 '17 at 04:22
1 Answers
0
The only reason mentioned in documentation why Nearby Messages API should only be used from a foreground (not in background) is due to potential to impact battery life. But this article added that security reasons is one factor why Android activities were prevented in background.
Will it ever be supported?
You may want to regularly check Release Notes for Google APIs for Android to know the latest updates.

Teyam
- 7,686
- 3
- 15
- 22