This async method initializes the SDK with information about the loyalty program and the currently logged-in customer. This method must be called before you can interact with other methods provided by the SDK.Documentation Index
Fetch the complete documentation index at: https://dev.smile.io/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
Returns
This method returns aPromise that:
- On success, resolves to void. The SDK will be initialized and ready for use.
- On failure, rejects with an error object.
publishableKey), the Promise will be rejected.