Skip to content

v1.2.20

Choose a tag to compare

@github-actions github-actions released this 24 Jul 12:35
7949592

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