Skip to main content

Debugging

For debugging purposes PAanalytics SDK provides some functions:

You can enable or disable direct send. If direct send is enabled data will be sent just after the each log. When disabled, all logs are collected, cached and sent with a time interval. By default the state is disabled.

 PAanalytics.getInstance().setIsDirectSendModeEnabled(true)

Analytics configuration screen

We provide simple screen to make it easy to test experiments and change some configs in analytics. To use the screen use the following

AnalyticsSettingsActivityStarter.startSettingsActivity(Intent(currentActivity))