These docs are for v1.0. Click to read the latest docs for v2.0.

Nudges - Setting up Test Devices

Hansel lets you create Test Devices for your Android apps. Devices that are a part of your Test Devices will receive changes made on Hansel immediately. For all other devices, the data is cached locally to provide high availability.

Test devices are useful when you want to preview features and changes before you release them to production.

Here is how you can create a Test Device on Hansel.

Step 1: Open the Hansel Dashboard

Open the Hansel dashboard and navigate to an app, and click on "Test" in the left-hand pane (as shown below).

1432

You can also reach here by clicking on the "Test" card on the Homepage.

1437

Step 2: Name your Device Group

In the Test Devices section click the plus button on the top right. Enter a name for your test device group. After giving the name click on the add button to save the test device group.

1428

Step 3: Add a device to your group

Click on the 'Add device' icon on the top right side as shown in the below image.

1436

Step 4: Enter the device name

After you enter the device name, please click "Continue". You will receive an email with a link to pair your test device. This link will be valid for 30 mins.

1398

Step 5: Open the Link from the device you wish to Add

To pair the device, open the link which you received in your email from the device you wish to pair in a browser.

1398

Follow the instructions below:

  • Click on the "Continue" button on the web page
  • Launch the app from that device (If the App is already open then kill the app and relaunch it).

After executing these steps successfully, reload the test device page on the Hansel Dashboard. The status of your device should change to "Paired".

327