Skip to content

Test your basic integration

This reference article covers how to test your basic integration for your Android or FireOS application.

Confirm session tracking is working

At this point, you should have session tracking working in your Braze integration. To test this, go to Overview, select your application from the selected app name dropdown (defaulted to “All Apps”), and set Display Data For to “Today”. Then open your app and refresh the page - your main metrics should all have increased by 1.

You should continue to test your integration by navigating through your application and ensuring that only one session has been logged. Then, background the app for at least 10 seconds and bring it to the foreground again. By default, a new session is created if the app is brought to the foreground after being backgrounded or closed for more than 10 seconds. After you’ve done this, confirm that another session was logged.

Debugging session tracking

If session tracking is behaving unexpectedly, turn on verbose logging and observe your app while you reproduce session triggering steps. Observe Braze statements in the logcat to detect where you may have missed logging openSession and closeSession calls in your activities.

New Stuff!