Repository navigation
v1.2.26
Native SDKs: iOS FronteggSwift 1.3.24, Android 1.3.43.
Features:
- Expo config plugin. Add
@frontegg/react-nativetopluginsinapp.jsonand runnpx expo prebuildto 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, andisRegional/regionDataingetConstants(). Bare Android apps callFronteggRegions.initFromBuildConfig(this)inMainApplication.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
.nvmrcuse 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.