Troubleshooting on Android

This page gives you a few tips to debug and test your display ads.

Table of contents

  1. Debug mode
  2. Test placements

Debug mode

You can activate the Debug Mode of the SDK through SASConfiguration singleton class.

When the Debug Mode is activated, the SDK will send logs to Android studio logcat.

SASConfiguration.isLoggingEnabled = true

Don’t forget to turn off the debug mode before submitting your app to the Google Play Store.

Test placements

For testing purposes, it is possible to use predefined test placements that will always deliver an ad from a particular type. This is done by using one of the test placement setup in the SASAdPlacement companion object TestPlacement

For instance:

val testPlacement = SASAdPlacement.TEST_PLACEMENT_BANNER_HTML

Don’t forget to remove any test placement before releasing your app.


Back to top

Copyright Equativ © 2024. All right reserved.

Page last modified: Aug 21 2024.