Menu

How to Test


1. Enable Log Debug Mode

Note: You need to turn off the log function before the app releases.

typescript Copy
import { ATSDK } from "db://assets/script/AnyThinkAds/ATSDK";

ATSDK.setLogDebug(true);

2. Debugger Tool

● How to Import

● How to Use

typescript Copy
import { ATSDK } from "db://assets/script/AnyThinkAds/ATSDK";

ATSDK.showDebuggerUI("your debug key");

3. FAQ

● During the process of displaying pop-up ads, press the home button to exit to the background, and then click on the application logo to return. If the ad is missing or there is no callback

Check the Manifest.xml configuration of the startup activity of the application, and the launchMode needs to be standard. Add the following code to the onCreate () method that starts the activity:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
......
if ((getIntent().getFlags() & Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT) != 0) {
finish();
return;
}
......
}

Note: Android project needs to be exported for processing

Last modified: 2025-07-11Powered by