For the complete documentation index, see llms.txt. This page is also available as Markdown.

User Explorer

It is recommended to use this only in Debug builds.

This guide explains how to check the User Identifier and force-assign users to A/B Tests or Feature Flags.

Add the following code.

import "package:hackle/hackle.dart";

await HackleApp.initialize(YOUT_APP_SDK_KEY);

// Trigger this at the point where you want to display the User Explorer.
HackleApp.showUserExplorer();

A Hackle logo button is displayed at the bottom of the screen. Tapping the button opens the configuration screen.

Check User Identifier

You can view and copy the User Identifier at the top of the screen.

Force Assign User

  • You can check the Variation Distribution results for A/B Tests and Feature Flags at the bottom of the screen.

  • Tapping a SelectBox lets you force-assign a user to a specific group.

  • Tapping the Reset button removes the force assignment.

  • Tapping Reset all removes all force assignments.

  • Force assignments made in the app only apply when distribution is performed within the app. (The device is not registered as a Test Device in the Dashboard.)

  • If the force assignment does not take effect, fully close the app and relaunch it.

Last updated