ASAP for Mobile Platforms

Hiding Help Components

By default, the ASAP SDK displays all help components available, depending on the Zoho Desk edition in use and settings configured in the Zoho Desk portal. However, you can also show or hide individual help components on your app, as required.

The following methods help disable individual help components on the add-on.

To Hide the Help Center (Knowledge Base)

DeskConfig config = new DeskConfig.Builder().showHelpCenter(false).build();

To Hide the Submit Ticket Screen

DeskConfig config = new DeskConfig.Builder().showCreateTicket(false).build();

To Hide the My Tickets Screen

DeskConfig config = new DeskConfig.Builder().showMyTickets(false).build();

To Hide the User Community

DeskConfig config = new DeskConfig.Builder().showCommunity(false).build();

To Hide the Navigation Drawer

DeskConfig config = new DeskConfig.Builder().showNavDrawer(false).build();

Note: You must send the configuration object in the deskInstance.initDesk function. For more details, refer to the Initializing the SDK in Your App section of this document.