The SDK comes with an integration verification tool - “Doctor App”. This is a tool that helps verify the SDK integration in your project by simulating a typical user flow in the application. When the “Doctor App” is enabled, a pop-up will appear as part of the app flow and guide the developer to simulate a user flow in order to gather the required information for testing the integration.
The “Doctor App” includes assets that are used for the UI. Those assets are required only for the “Doctor App” usage and are not needed in your app production build. To minimize the SDK footprint, those assets are loaded dynamically at runtime.
If you run the “Doctor App,” those assets will be loaded automatically (internet connection is required).
The “Doctor App” includes assets that are used for the UI. Those assets are required only for the “Doctor App” usage and are not needed in your app production build. To minimize the SDK footprint, those assets are loaded dynamically at runtime. If you run the “Doctor App” on a real device with iOS 14 or above, those assets will be loaded automatically (internet connection is required). However, if you run the “Doctor App” on a simulator or on a real device with iOS 13 or earlier, you will need to add the HUMAN.bundle file to your project. It is important to remember to remove it from your project before you build and deploy your app to production.
You can get the HUMAN.bundle by running the following command in the Terminal (please refer to the relevant SDK version):
How to add the HUMAN.bundle file to your project
HUMAN.bundle.zip file from the link above.HUMAN.bundle file to your project (make sure to link it to the relevant targets).Start the SDK with the “Doctor App” enabled. You can enable it by setting the HSDoctorAppPolicy/enabled to be true when initiating the SDK.

Product Selection Screen - Select which product to test:


Test Selection Screen - Choose between:

Run the Test - Use your app according to the instructions.
Summary Screen - Review the test results. Explore detailed insights for each test and get troubleshooting tips for failed tests.

Export the test result to a JSON string from the summary screen. Share it with the support team if needed.
When you exit the “Doctor App,” your app is also terminated.
Welcome screen - In this screen you select which product to test (Bot Defender or Account Defender) and which test to perform:

Test screen - This screen shows the current step of the test in the main view, while the panel on the right provides a summary of the integration test results.

Note: Retrying blocked requests after the challenge is solved will not work while running the “Doctor App.” In this case, your request handler will receive a “challenge was solved” error.
Don’t forget to set HSDoctorAppPolicy/enabled to false when you finish validating the SDK integration.