Optional accessOptional analyticsClient Id of application to load SDK
Optional endpointOptional langLanguage code to initialize the SDK with. Accepts a BCP 47 language tag (e.g., 'en', 'fr', 'es'). Defaults to 'en' if not provided.
Optional loggerEnable/Disable debug logs. Default is false/
Optional nickIf no accessToken arg is passed, and no userProfile is returned by storageStrategy arg, init() will generatate a new user profile. This argument sets the nickname of that user profile. If not, nickname will be randomly generated.
Optional publishKey used to enable message sending
Optional storageThe storageStrategy is used to get/set user profile. Default uses localStorage.
Generated using TypeDoc
User profile's access token