User Explorer

📘

This feature is supported for Android SDK version 2.18.0 and above.

It is recommended to use only in Debug builds.

The method of identifying users and forcing assignment to A/B tests and feature flags is explained below.

Add the following code:

@Override
public void onCreate(Bundle savedInstanceState) {
  //...
  hackleApp.showUserExplorer();
  //...
}
@Override
public void onCreate(Bundle savedInstanceState) {
  //...
  hackleApp.showUserExplorer(this);
  //...
}

The Hackle logo button will appear at the bottom of the screen. Clicking the button will take you to the settings screen.

1080

Identify User

You can check and copy the user identifier from the top of the screen.

If your SDK version supports push message, you can also check the push token for this device.

1080

Force User Assignment

  • You can check the distribution results of A/B tests and feature flags at the bottom of the screen.
  • You can force assignment to a specific group by clicking the SelectBox.
  • Clicking the RESET button will release the forced assignment.
  • Clicking the RESET ALL button will release all forced assignments.
  • If forced assignment is applied in the app, it only applies when distributing from the app (not registered in the dashboard test device).
  • If forced assignment is not applied, please completely exit and restart the app.
1024 1024