Skip to content

v1.2.26

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Oct 12:00
d1c1145

v1.2.26

Native SDKs: iOS FronteggSwift 1.3.24, Android 1.3.43.

Features:

  • Expo config plugin. Add @frontegg/react-native to plugins in app.json and run npx expo prebuild to generate the native iOS and Android setup, including multi-region.
  • New architecture (TurboModule) support. The module works on both the old and the new architecture.
  • Multi-region: getRegions(), initWithRegion(regionKey), useAuth().selectedRegion, and isRegional / regionData in getConstants(). Bare Android apps call FronteggRegions.initFromBuildConfig(this) in MainApplication.onCreate.
  • getOrRefreshAccessToken() returns an access token valid for more than 15 seconds and refreshes it first when needed. Use it before API calls after the app resumes.

Notes:

  • CI and .nvmrc use Node 22.
  • An over-the-air JS update running on an older native binary fails on the new methods.

Note

Low Risk
Release metadata only—version bump and changelog section title—with no code changes in the diff.

Overview
This PR cuts @frontegg/react-native v1.2.26 by bumping the version in package.json and renaming the changelog heading from Unreleased to v1.2.26, so the existing release notes (native SDK versions, Expo config plugin, TurboModule support, multi-region APIs, getOrRefreshAccessToken(), and related notes) are tied to this tag.

Reviewed by Cursor Bugbot for commit 3abf11f. Bugbot is set up for automated code reviews on this repo. Configure here.