General Message Callback
- Purpose:
Deals with general messages from the SDK, such as identity validation results, email verification updates, or internal errors. - Functionality:
- Notify user about new updates and can trigger trigger actions based on the data status code.
- Usage:
Provides timely feedback to the user.
- Example:
generalMessageCallback: async (result: GeneralMessageModel) => {
//Can handle events and dispatch actions based on your business logic
},