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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
v1.2.20
Updated native SDKs to frontegg-ios-swift 1.3.13 / frontegg-android-kotlin 1.3.36
logout() is now awaitable on both platforms — resolves when the session actually ends, with a 10s timeout fallback so await logout() can't hang if the native completion never fires
iOS: auth state is now replayed whenever a JS listener attaches — useAuth() can no longer get stuck authenticated after a logout that races app teardown
Android: login() and switchTenant() now reject on failure instead of reporting success, and JS login() returns its promise so it can be awaited
Android: login, directLoginAction, loginWithPasskeys, and registerPasskeys no longer crash when there is no current Activity — they reject with NO_ACTIVITY instead
Android: refreshToken() now waits for the refresh to complete and returns its result instead of resolving a stale token
iOS: subscribe() no longer accumulates duplicate event subscriptions across remounts
iOS: FronteggSwift can now be linked via React Native's spm_dependency helper, unblocking multi-target (white-label) workspaces