DebugMode enables you to see the event data logged by your app in near real-time. This is very useful for validation purposes during the instrumentation phase of development and can help you discover errors and mistakes in your Analytics implementation and confirm that all events and user properties are logged correctly.
DebugMode events are logged every 10 seconds and are stored in offline mode up to 1 hour.
Additionally, in DebugMode you will get all the logging printed in Logcat.
DebugMode run the following command in CLI (no app recompilation is required):
adb shell setprop debug.com.reteno.debug.view enable
To disable DebugMode run the following command in CLI:
adb shell setprop debug.com.reteno.debug.view disable
In order to run the commands make sure to install [ADB](Android Debug Bridge (adb) | Android Developers)
To view events from your app in debug mode specify X-Reteno-Debug:true in the request’s headers.
Then go to settings -> Mob Push -> and click Debug next to the app name.
You will see:
- notifications with recommendations for checking settings and verification statuses,
- Test Mobile Push and Test App Inbox buttons,
- valid and invalid events with error descriptions,
- event parameters,
- contact information (full name, email, phone, device ID),
- filter by devices.
The system keeps events for 8 hours.
These requests also will be visible in the Event history (as shown below).