You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added authState to TurnkeyContext for synchronously tracking authentication state and determining the appropriate screen on app load.
Added refreshSession() to manually refresh the session. Defaults to the selected session but accepts an optional sessionKey.
Added updateUserEmail(email:verificationToken:) and updateUserPhoneNumber(phone:verificationToken:) for updating user contact details. These methods support optional verification tokens to mark the fields as verified, and allow deletion by passing an empty string.
Added support for automatically refreshing sessions before expiry when the app is active by passing the optional refreshedSessionTTLSeconds parameter to createSession(). This controls the duration of refreshed sessions and must be at least 30 seconds.
🛠 Fixes
Fixed a scheduling issue where expiry timers were not firing correctly while the app was active in the foreground.