使用 iBeacon?

Working with iBeacon?

我想创建一个与 iBeacon 一起使用的应用程序。我找到了一些例子,但我不明白如何使用 iBeacon 来收集网络服务的信息。

例如,我想在我的面板(网络服务)上为一家商店创建促销活动,当顾客使用 iBeacon 接近这家商店时,应用程序会显示促销活动。

为了做这个例子,我需要一个网络服务来与 iBeacon 通信?如果我需要,iBeacon 如何与 webservice 通信以获得促销?

您的任务有以下实施阶段:

  1. 使用iBeacon检测事件:进入区域,离开区域
  2. 向网络服务发送请求以获取特定 iBeacon 检测到的事件的数据(UUID、主要值、次要值、设备名称)
  3. 向您的应用程序用户显示来自网络服务的数据
  4. 如果需要,存储用户操作。

你可以试试BONI platform. BONI allows you to register iBeacons and then map content items to each iBeacon. Then using BONI Cordova SDK you can easily develop a hybrid mobile app that will detect iBeacons and exchange the signal that receive from them for the already defined content items. You can read more on the BONI Documentation Page.