[iBeacons Plugin] Help

Forge Component
(5)
Published on 2018-02-21 by Experts
5 votes
Published on 2018-02-21 by Experts

Hello,

I am trying to build an app to detect nearby iBeacons and trigger an action. I have read the Details tab, but I still don't understand how to use the client actions.

Can you help me?

Thanks

Hi Miguel,


One way is to add the iBeaconCentralDispatcher web block to your screen and then implement the event handlers according to your needs.


Check the description here: https://www.outsystems.com/forge/Component_Details.aspx?ProjectId=3321.


If you are not able to achieve it let me know and I'll send you an example.


Cheers,

Renato


Miguel Lopes wrote:

Hello,

I am trying to build an app to detect nearby iBeacons and trigger an action. I have read the Details tab, but I still don't understand how to use the client actions.

Can you help me?

Thanks



I am probably doing something wrong. It is not working. Could you upload an example?

Thanks


Hello,

I had the same problem, which I solved by creating a region with the UUID of the beacons I'm using, and then using the StartRangingBeaconsInRegion client action to scan the beacons in that region.

The question I have now is, how can I scan beacons without explicitly giving the region? Meaning, could I find the regions themselves by scanning a room with beacons, or do I always need to provide the (harcoded) region to find any beacons whatsoever? How can I create a simple ibeacon scanner that gives me the beacons close to a device, without the need to previously know the region to scan?

Thank you in advance.

Patricia Leal wrote:

Hello,

I had the same problem, which I solved by creating a region with the UUID of the beacons I'm using, and then using the StartRangingBeaconsInRegion client action to scan the beacons in that region.

The question I have now is, how can I scan beacons without explicitly giving the region? Meaning, could I find the regions themselves by scanning a room with beacons, or do I always need to provide the (harcoded) region to find any beacons whatsoever? How can I create a simple ibeacon scanner that gives me the beacons close to a device, without the need to previously know the region to scan?

Thank you in advance.

Any solution?


As I know. The concept of Beacon is that we are not supposed to be able to scan other Beacons that are not own by us. Therefore, we should provide the UUID to register the beacon first. Some apps in playstore/appstore can scan since the beacons made by the same manufacturer would probably share the same default UUID and the app developer just register most of the manufacturers' UUID.


But my question is that I still cannot scan my beacon using this plugin after providing the exact UUID, Major and minor. My Android version is 8.1 and I am using Outsystem 11. I checked in the app that the bluetooth is enabled. The permission is authorized, the plugin is available and the ranging function is enabled but the event of OnDidRangedBeacons just did not been triggered. Did you succeed to scan any beacons?   


Patricia Leal wrote:

Hello,

I had the same problem, which I solved by creating a region with the UUID of the beacons I'm using, and then using the StartRangingBeaconsInRegion client action to scan the beacons in that region.

The question I have now is, how can I scan beacons without explicitly giving the region? Meaning, could I find the regions themselves by scanning a room with beacons, or do I always need to provide the (harcoded) region to find any beacons whatsoever? How can I create a simple ibeacon scanner that gives me the beacons close to a device, without the need to previously know the region to scan?

Thank you in advance.