Search code examples
ibeacon

Working with iBeacon?


I want to create an app to use with iBeacon. I found some examples but I can't understand how to use iBeacon to collect informations of an webservice.

For example, I want to create an promotion to one store on my panel(webservice) and when the custommers are aproximate of this store with iBeacon the app goes display the promotion.

To do this example I need a webservice to communicate with iBeacon ? And if I need, how could iBeacon communicate with webservice to get the promotions ?


Solution

  • Your task has these stages in implementation:

    1. Detect event with iBeacon: enter the region, leave the region
    2. Send request to webservice to get data for detected event for particular iBeacon (UUID, major value, minor value, name of device)
    3. Show data from webservice to user of your application
    4. Store user action if it is needed.