Summary

This callback will be called after Dynamic’s email verification modal closes and verification was not successful.

This callback will not be called by the useEmailVerificationRequest hook, or by email verification from updateUser, under the useUserUpdateRequest hook. You are expected to decide when email verification should be declared “failed” when using these methods

Usage

<DynamicContextProvider
  settings={{
    eventsCallbacks: {
      onEmailVerificationFailure: () => {
        console.log("onEmailVerificationFailure was called");
      },
    },
  }}
>
  {/* ... rest of your app ... */}
</DynamicContextProvider>

Callback Argument Value

None