Mobile debuggers are distributed as standalone open source libraries.
Each Avo function will automatically show events in the debugger with timestamp and all the properties.
If Avo detects errors the visual debugger will highlight those.
Debuggers are disabled in the noop mode
If you have already initialized Inspector SDK on iOS and Android, no further action is required to enable the Visual Debugger. See
showVisualInspector
andhideVisualInspector
methods of Inspector SDKs to start using the Visual Debugger.
The following pseudocode would give you the idea, head to platform docs for specific integration instructions.
JavaScriptCopy1val debugger = Debugger()
JavaScriptCopy1Avo.initAvo(AvoEnv.DEV, ..., debugger)
JavaScriptCopy1debugger.showDebugger(this, DebuggerMode.bar)
JavaScriptCopy1234567debugger.post(timestamp,"EventName",errors: [{propertyId:"id0", message:"error in property 'event prop' with id 'id0'"}],eventProperties: [{id:"id0", name:"event prop", value:"val"}],userProperties: [{id:"id1", name:"user prop", value:"val"}]);
We store the source code, platform docs and example apps in the corresponding GitHub repositories.