After the integration of the SDK in your App, it’s time to test that Proximity is working.

To do so:

  1. Enable Wi-Fi, Bluetooth and Mobile Data.
  2. Install your App on your device.
  3. Open your App.
  4. Accept permissions:
    1. iOS: Background App refresh active, Location set to Always.
    2. Android/Cordova:  Make sure it requests fine location and it’s set to Balanced or High Accuracy on the OS.
  5. Log into the console and set a Geofence around you.
    1. Go to Places.
    2. Create a New Place.
    3. In Geolocation, click on the map to create a Geofence.
    4. Save the geofence.
  6. Go to Beacons and click New Beacon:
    1. Add a Beacon name.
    2. Select the appropriate Beacon provider (if not in the list, select Other Provider).
    3. Add the UUID, Major and Minor.
    4. Save Changes.
    5. Optional: edit location if you want the beacon to be geolocated.
  7. Go to Apps > Your App > Campaigns and create a new Proximity campaign.
    1. Select a wide range of dates.
    2. Leave all days selected on the scheduler.
    3. Make sure the hour intervals goes from 0 to 24.
    4. Make sure the Segment is set for All Users.
    5. Save Campaign and you’ll be sent to Experiences.
    6. Click on New Experience.
    7. Select the Message and add a “Hello World!” to the text box.
    8. Select Place or Beacon.
    9. On trigger options, select On Enter.
    10. Now select the Place you created or the Beacon you added.
    11. Select the cool down time as one minute. Note: It is not recommended to set it to No cooldown. For testing one minute is considered adequate.
    12. Activate the experience.
    13. Save the experience.
    14. Now enable the Campaign by using the slider in the main Campaigns page.
  8. Once done, the Campaign information will synchronize with the SDK. This requires a functioning internet connection on the device.
  9. Once the settings are synced, the location engine will have the geofence coordinates and beacon Identity and will use them to trigger the Campaign.