Smile.initialize() completes successfully — indicating that the SDK is fully initialized and all methods are ready to use.
When to use
Listen for this event to perform actions that depend on the SDK being fully initialized, such as displaying customer data, accessing preloaded resources, or rendering UI components that require SDK functionality.Good to know
- It only fires on successful initialization (not on errors).
- The event fires after any preloaded data has been fetched and cached.
- If the
Smile.initialize()method is called multiple times with the same credentials, this event only fires on the first successful initialization.