HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center
API Reference

View Hierarchy

View Hierarchy is disabled by default; however, if you would like to have it enabled, you can do so by adding the API found below.

This feature gives you the ability to visually inspect each layer in your app and see all the properties and constraints of each subview so you can spot errors at a glance. This helps out in the process of finding the problem and fixing it faster. Any editable text or text fields will automatically be replaced with asterisks.

BugReporting.shouldCaptureViewHierarchy = true
LCQBugReporting.shouldCaptureViewHierarchy = YES;
new Luciq.Builder(this, "APP_TOKEN")
    .setViewHierarchyState(Feature.State.ENABLED)
    .build();
Luciq.Builder(this, "c626fd74f74eb721f1ab9c41478cf46f")
            .setViewHierarchyState(Feature.State.DISABLED)
            .build()
BugReporting.setViewHierarchyEnabled(true);
//iOS
Luciq.ShouldCaptureViewHierarchy = false;

//Android
new Luciq.Builder(this, "ANDROID_APP_TOKEN")
    .SetViewHierarchyState(Feature.State.Enabled)
    .Build();

Example: If you receive a report that a certain UI view is missing, you can use View Hierarchy to easily discover if the missing view is hidden behind a higher layer, out of the parent view's bounds, or missing from the window.