SDK lifecycle


Initialization


Declared In

lib/main/synerise_initializer.dart

Builder Parameters

Parameter Type Mandatory Default Description
withBaseUrl String no - Synerise API custom environment base URL
withClientApiKey String yes - Synerise Client API Key
withDebugModeEnabled bool no - Enables/disables console logs

Return Value

There is no return value.

Example

Synerise.initializer()
  .withBaseUrl("YOUR_API_BASE_URL")
  .withClientApiKey("YOUR_CLIENT_API_KEY")
  .withDebugModeEnabled(false)
.init();
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker