【问题标题】:Google Nearby Publish in background for Android适用于 Android 的 Google Nearby Publish 在后台
【发布时间】:2017-02-15 23:01:50
【问题描述】:

Google Nearby 库仅允许使用 BLE 在 iOS 的后台发布(声明为 here)。不允许 Android 具有相同功能的原因是什么,是否会得到支持?

【问题讨论】:

  • 我想知道如果您显示前台通知是否可能。可以轻松添加控件以允许用户将其关闭。

标签: android google-play-services google-nearby


【解决方案1】:

documentation 中提到的为什么只能在前台(而不是后台)使用 Nearby Messages API 的唯一原因是可能会影响电池寿命。但是这个article补充说,安全原因是Android活动在后台被阻止的一个因素。

会得到支持吗?

您可能需要定期查看Release Notes for Google APIs for Android 以了解最新更新。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-03-05
    • 1970-01-01
    • 1970-01-01
    • 2015-11-27
    • 2013-12-19
    • 2017-03-29
    相关资源
    最近更新 更多