Releases: frontegg/frontegg-react-native
v1.2.8
iOS:
- Keychain Data Persistence Configuration: Added support to keep or remove Keychain data upon app reinstall. This feature is configurable via a new property in
Frontegg.plist
, allowing more flexibility in how sensitive data is handled across app reinstalls. - Token Refresh Rescheduling: Improved token management by rescheduling token refresh when the internet connection is inactive, ensuring seamless token refresh when the network becomes available again.
Android:
- Security Dependencies Update: Updated security dependencies to enhance app security and compatibility with the latest Android versions.
- Direct Login Action Race Condition Fix: Resolved a race condition issue in the Direct Login Action, improving the reliability of the login process.
- ACCESS_NETWORK_STATE Permission: Added the missing permission for
ACCESS_NETWORK_STATE
, enabling better handling of network state detection during token refresh and login actions.
v1.2.7
v1.2.7
- Fix typo in Frontegg Swift plugin
v1.2.6
v1.2.6
Android
-
Token Refresh Improvements:
- Implemented
TimerTask
for immediate token refresh in the foreground. - Used
JobScheduler
for efficient background token refresh. - Added a retry mechanism for failed background jobs.
- Improved handling of state transitions between foreground and background.
- Enhanced handling of near-expiry tokens.
- Introduced checks for token refresh status.
- Implemented
-
OAuth/Authorize Error Fix:
- Resolved infinite loading on the
/oauth/authorize
page by correctly displaying backend errors.
- Resolved infinite loading on the
iOS
-
Demo App and Documentation:
- Fixed issues in the demo app and updated the README for clarity.
-
OAuth Error Handling:
- Improved error handling for smoother OAuth authorization.
-
Codebase Cleanup:
- Removed unnecessary logs and fixed a typo related to
ephemeralSession
.
- Removed unnecessary logs and fixed a typo related to
-
Refresh Token Enhancements:
- Improved token refresh management during app state transitions.
React Native Bridge
- Bug Fix:
- Fixed the issue with
RCTCallableJSModules
not being set.
- Fixed the issue with
These updates bring improvements in token management, error handling, and overall reliability. We recommend upgrading to this version.
v1.2.5
v1.2.5
- Add support for directLoginAction with iOS ephemeral session.
v1.2.4
v1.2.4
- Add MultiApp support
- Upgrade iOS SDK for social login fix
v1.2.3
Bug Fixes
- OAuth Redirect Error Resolution:
Resolved a critical issue where non-logged-in users navigated toAPP_URL
instead of return back toMOBILE_CALLBACK
the OAuth redirect process.
v1.2.2
Cross-Platform Enhancements
- Direct Login Capability: Introduced a direct login feature for both platforms, streamlining the authentication process with enhanced user access efficiency.
iOS Specific Enhancements
- Web View Enhancement: Refined handling of
safeAreaInsets
inFronteggWebView
, ensuring zero padding is confined toFronteggWebViews
. This preserves the intended layout for other web views, enhancing visual integration within Ionic/Capacitor applications. Changes made by @quesodev. (#39)
Android Specific Enhancements
- Chrome Custom Tabs as Optional: set buildConfigField
FRONTEGG_USE_CHROME_CUSTOM_TABS
to true to enable social login via Chrome Custom Tabs; defaults to Chrome browser. - Enhanced Asset Links Configuration: Resolved a configuration issue to ensure seamless functionality of asset links across various regions, enhancing global application reach and accessibility.
- UI Update: Modified the native loader's color to gray, aligning with a professional aesthetic and contributing to a polished app appearance.
Updated integration guidelines for Chrome Custom Tabs are included.
v1.2.1
Overview
This release of the @frontegg/react-native SDK includes several important updates and bug fixes. Notably, improvements have been made to the authentication process, social logins, and overall stability and security of the SDK.
Changes
Removed Features
- URL Display on Error Page: Removed the display of the URL from the error page for a cleaner user experience.
Bug Fixes
- Authentication Loading Screen Issue: Resolved an issue where the loading screen remained stuck after authentication via
ASWebAuthenticationSession
. - Memory Leak: Fixed a memory leak bug that could impact the performance and stability of applications using the SDK.
- Device Cookie Maintenance: The SDK now maintains a device cookie to prevent sending an email notification every time a user logs in.
New Features
- Native Bridge for Social Logins and More: Introduced an option to enable or disable the native bridge for social logins, SAML, and OIDC in embedded mode. This provides more flexibility in how these features are implemented in your application.
- Manual Initialization Functionality: Added functionality for manual initialization, giving developers more control over when and how the SDK is initialized.
- ASWebAuthentication Support: The SDK now supports
ASWebAuthentication
with SAML, OIDC, SocialLogin, and custom login buttons, expanding the authentication options available to users.
Improvements
- Dependency Updates: Updated various dependency versions to address known security vulnerabilities. This enhances the security and reliability of the SDK.
Conclusion
This update brings significant improvements to the @frontegg/react-native SDK, enhancing its functionality, security, and stability. We encourage all users to upgrade to this latest version to take advantage of these improvements.
v1.1.1
🌟 Frontegg React-Native SDK Update - Version 1.1.1 🌟
🚀 Introduction
This update brings in support for the embedded authentication mode in the Frontegg React-Native SDK. Additionally, it includes several enhancements and fixes for iOS and Android platforms. Here's a rundown of the changes incorporated in this release.
✨ Features
- 🔒 Embedded Authentication Mode: Introducing support for the embedded authentication mode, enabling a seamless user authentication experience in React-Native apps.
- 🔄 Switch Tenant and Refresh Token: We've added native bridge functions for switching tenants and refreshing tokens, enhancing multi-tenancy and session management.
- 📱 iOS and Android Version Upgrades: Upgraded native versions for iOS and Android to ensure compatibility and take advantage of new platform features.
- 📖 iOS Integration Guide: A comprehensive guide is now available to streamline the integration process of Frontegg features on iOS devices.
🛠 Enhancements
- 🆙 React-Native Version Bump: Upgraded to React-Native version 1.1 with essential pipeline improvements, keeping the SDK in line with the latest features and optimizations.
- 🧱 Improved Native Bridge Functions: Refined native bridge functions by separating values from functions, leading to a cleaner architecture and easier maintenance.
- 🤖 Android Kotlin Update: Upgraded Kotlin to version 1.9.0 on Android, enhancing performance and stability.
🐞 Bug Fixes
- 🛡 Values Subscriber Fix: Resolved an issue with the values subscriber for more reliable data handling.
- 🔧 Android Debounced Events: Corrected a problem with debounced events on Android, preventing unintended behavior and improving user experience.