Skip to main content
The SDK gives developers the option of enabling the debugging features when running the application by using the setDebugFeature(enabled:) when using CIMobileAdsConfiguration.Builder and setting the enabled parameter to true as seen in the Initialising the SDK section. When enabled it allows a user to perform the gesture demonstrated below. Debug Gesture When the user performs the gesture, This will open a debug menu, which gives the following options:

Clear ads configs cache

When updating configs in the Fusion platform, these are stored by the SDK and refreshed periodically. Pressing this button will force the SDK to download the new configs from the server.

Clear floors cache

When updating floors data within fusion, this data is stored by the SDK and refreshed periodically. Pressing this button will force the SDK to download the new floors data from the server.

Start a new debug session

Opens a dialog where the user is required to enter a PIN which is provided within the Fusion dashboard. When this PIN is entered correctly, the SDK will start sending detailed logs for a fixed period of time to the Content Ignite team to allow them to diagnose issues more effectively.

Enabling / Disabling Test ads

During development to prevent invalid traffic in Google Ad Manager, we recommend you enable test ads. This guarantees an ad will always be served, either from GAM or Prebid depending on your setup, helping for use during demos.