Skip to content

Releases: frontegg/frontegg-react-native

v1.2.8

01 Oct 10:46
f01bf3c
Compare
Choose a tag to compare

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

02 Sep 19:54
bfea72e
Compare
Choose a tag to compare

v1.2.7

  • Fix typo in Frontegg Swift plugin

v1.2.6

01 Sep 14:41
3fe2bfa
Compare
Choose a tag to compare

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.
  • OAuth/Authorize Error Fix:

    • Resolved infinite loading on the /oauth/authorize page by correctly displaying backend errors.

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.
  • Refresh Token Enhancements:

    • Improved token refresh management during app state transitions.

React Native Bridge

  • Bug Fix:
    • Fixed the issue with RCTCallableJSModules not being set.

These updates bring improvements in token management, error handling, and overall reliability. We recommend upgrading to this version.

v1.2.5

22 Aug 14:38
5d93ead
Compare
Choose a tag to compare

v1.2.5

  • Add support for directLoginAction with iOS ephemeral session.

v1.2.4

30 Jul 16:13
9f50ff8
Compare
Choose a tag to compare

v1.2.4

  • Add MultiApp support
  • Upgrade iOS SDK for social login fix

v1.2.3

06 May 08:54
964765c
Compare
Choose a tag to compare

Bug Fixes

  • OAuth Redirect Error Resolution:
    Resolved a critical issue where non-logged-in users navigated to APP_URL instead of return back to MOBILE_CALLBACK the OAuth redirect process.

v1.2.2

17 Mar 13:56
49c7388
Compare
Choose a tag to compare

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 in FronteggWebView, ensuring zero padding is confined to FronteggWebViews. 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

22 Jan 22:53
f10cb53
Compare
Choose a tag to compare

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

15 Nov 17:57
84ef2b4
Compare
Choose a tag to compare

🌟 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.