initialize()

Note: This API is supported from version 6.5.1.

Initializes the SalesIQ SDK with the provided configuration. 

Parameters

  • configuration (SalesIQConfiguration): The configuration object containing the app key, access key, and other settings.

Example

CopiedSalesIQConfiguration configuration = SalesIQConfiguration(
    appKey: appKey,
    accessKey: accessKey);

ZohoSalesIQ.initialize(configuration).then((_) {
  // initialization successful
  ZohoSalesIQ.launcher.show(VisibilityMode.always);
}).catchError((error) {
  // initialization failed
  print(error);
});