Interface InitArgs
Hierarchy
- InitArgs
Properties
Optional access Token
access Token?: string
Optional analytics Provider
client Id
client Id: string
Client Id of application to load SDK
Optional endpoint
endpoint?: string
Optional localized Strings
localized Strings?: Object
Optional logger
logger?: boolean
Enable/Disable debug logs. Default is false/
Optional nick Name
nick Name?: string
If 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 publish Key
publish Key?: string
Key used to enable message sending
Optional storage Strategy
The storageStrategy is used to get/set user profile. Default uses localStorage.
Optional sync Strategy
Pass in syncStrategy
Optional theme
Theme style
Generated using TypeDoc

User profile's access token