What are the configuration settings for the ASAP Android SDK?

What are the configuration settings for the ASAP Android SDK?

ASAP configuration 

ASAP SDK  provides methods to display/hide specific functionality.

For example, To hide the Knowledge Base (KB), use the following method:
  1. ZDPortalConfiguration.setConfiguration(new ZDPConfiguration.Builder().isKBEnabled(false).build())
isKBEnabled(true): displays the KB
isKBEnabled(false): hides the KB
The modules' status can be changed to either enabled or disabled. However, this action can only be performed if the modules are enabled in the ASAP configuration settings.
To display/hide the specific modules/options/buttons, refer to the respective methods mentioned below:

 

Method name
 
Functions
Default enabled/disabled status
isCommunityEnabled
To hide the Community module
based on Portal configuration
isMyTicketsEnabled
To hide the My Tickets module
based on Portal configuration
isSubmitTicketEnabled
To hide the Add Ticket module
based on Portal configuration
 
isAddTopicEnabled
 
To hide the Add Topic module
based on Portal configuration
 
isChatBotEnabled
 
To hide the Chat Bot module
based on Portal configuration
 
isLiveChatEnabled
 
To hide the Agent C module
based on Portal configuration
isSideMenuEnabled
To disable the Side Menu option
enabled
 
isPoweredByFooterEnabled
 
To hide the powered by ASAP label button
enabled
 
isLangChooserEnabled
 
To disable the language chooser option
 
enabled
isAttachmentDownloadEnabled 
To disable the Download attachments option
 
enabled
 
isGlobalSearchEnabled
 
To disable the Search option
enabled
isAttachmentUploadEnabled
To disable the Upload attachments option
 
enabled
isShareEnabled
To disable the Share option
 
enabled

What is SDK Logging?

The ASAP SDK also allows you to fix errors that occur while using the help widget. SDK logging makes this possible.

Enabling the console log allows you to track error messages and identify and resolve errors that may arise during execution.

To enable the logs, include the following code snippet:
  1. ZohoDeskPortalSDK.Logger.enableLogs();
Some debug information related to the SDK is stored in logcat. Make sure that enableLogs() does not exist in the release build.