Skip to content

Releases: frontegg/frontegg-android-kotlin

v1.2.30

10 Nov 19:16
a14c826
Compare
Choose a tag to compare

v1.2.30

Enhancements

  • Native Passkeys Support:
    • Implemented native handling for passkeys, enhancing authentication security and user experience.

v1.2.29

04 Nov 13:01
8d623f7
Compare
Choose a tag to compare

v1.2.29

Bug Fixes:

  • Embedded Login Flow: Resolved an issue where the external browser login flow did not properly signal completion, ensuring consistent behavior across authentication methods.

v1.2.28

01 Nov 13:59
8460948
Compare
Choose a tag to compare

v1.2.28

This update introduces new features, enhancements, and bug fixes to improve your development experience.

New Features

  • WebAuthn Passkeys Support: Added support for WebAuthn passkeys, enabling more secure and user-friendly authentication methods.

Enhancements

  • Login Hint Parameter: Introduced the loginHint parameter to the login method, allowing pre-filling of the login form with a specified username or email.

Bug Fixes

  • MasterKey Corruption Handling: Implemented re-initialization of encrypted shared preferences when a MasterKey corruption is detected, ensuring data integrity.

Documentation Updates

  • README Improvements: Updated the README to include Kotlin Gradle code blocks for better clarity.
  • Formatting Corrections: Fixed formatting issues in the README for improved readability.
  • Typographical Corrections: Addressed typos in the README to enhance documentation accuracy.
  • Permission Section Removal: Removed outdated permission sections from the README and example code to reflect current requirements.

Code Maintenance

  • Code Cleanup: Refactored AuthFragment to remove unused code, streamlining the codebase.

v1.2.27

31 Oct 23:11
ed60444
Compare
Choose a tag to compare

v1.2.27

This update introduces new features, enhancements, and bug fixes to improve your development experience.

New Features

  • WebAuthn Passkeys Support: Added support for WebAuthn passkeys, enabling more secure and user-friendly authentication methods.

Enhancements

  • Login Hint Parameter: Introduced the loginHint parameter to the login method, allowing pre-filling of the login form with a specified username or email.

Bug Fixes

  • MasterKey Corruption Handling: Implemented re-initialization of encrypted shared preferences when a MasterKey corruption is detected, ensuring data integrity.

Documentation Updates

  • README Improvements: Updated the README to include Kotlin Gradle code blocks for better clarity.
  • Formatting Corrections: Fixed formatting issues in the README for improved readability.
  • Typographical Corrections: Addressed typos in the README to enhance documentation accuracy.
  • Permission Section Removal: Removed outdated permission sections from the README and example code to reflect current requirements.

Code Maintenance

  • Code Cleanup: Refactored AuthFragment to remove unused code, streamlining the codebase.

v1.2.26

03 Oct 14:50
198fe4a
Compare
Choose a tag to compare

FR-18199 - re-initialize encrypted shared preference if MasterKey is corrupted

v1.2.25

30 Sep 17:12
0fe6107
Compare
Choose a tag to compare

Security Updates

  • Update Security Dependencies (link):
    We have updated several security-related dependencies to their latest versions. This ensures that your application benefits from the latest security patches and improvements, enhancing overall security and stability.

Bug Fixes

  • Fix Race Condition in Direct Login Action (link):
    Resolved a race condition that occurred during the direct login process. The SDK now waits for the token exchange to complete before navigating to the authentication screen, preventing potential authentication errors and improving user experience.

Documentation Improvements

  • Update README.md (link):
    The README.md file has been updated to provide clearer instructions and updated examples. This will help you integrate and utilize the SDK more effectively in your projects.

v1.2.24

04 Sep 12:50
4e6e614
Compare
Choose a tag to compare

v1.2.24

v1.2.23

30 Aug 19:44
a0f34ef
Compare
Choose a tag to compare

What's New:

  • Improved React-Native Support:
    • Fixed the initialization order of observables to ensure compatibility with React-Native. This update resolves issues where observables were not initialized in the correct order, leading to improved stability and functionality when integrating the SDK with React-Native projects.

v1.2.22

30 Aug 08:53
ec80e6b
Compare
Choose a tag to compare

This release includes several key improvements and a critical bug fix in the Android Kotlin SDK. These updates enhance the token refresh mechanism, introduce robust error handling, and improve the overall reliability of the SDK.

Key Changes:

  1. Sustainable Token Refresh Mechanism:

    • Foreground: Implemented TimerTask to trigger immediate token refresh after the specified delay, ensuring timely execution without delays caused by JobScheduler's battery optimization.
    • Background: Utilized JobScheduler to handle token refresh in the background, conserving battery when the app is not in the foreground.
    • Retry Mechanism for Background Jobs: Introduced a retry mechanism that automatically retries the token refresh after 5 seconds if the background job fails.
    • Seamless Switching: Added logic to cancel the current timer or job and reschedule a new one based on the application’s state (foreground or background).
    • Edge Case Handling: Implemented logic to immediately refresh tokens if the remaining offset is below 15 seconds when transitioning from background to foreground, especially when token expiration is imminent (~800ms).
    • Token Refresh Status Check: Added support for checking if the token is currently being refreshed, allowing users to verify the refresh status before using the token.
  2. Fix for Infinite Loading State on OAuth/Authorize Error:

    • Resolved an issue where the application would enter an infinite loading state on the /oauth/authorize page when an error occurred.
    • This bug was introduced when changes were made to the error page in the hosted login webpage, causing the SDK to fail in catching and handling the error correctly.
    • The SDK now accurately identifies when the page contains an error while still on the /oauth/authorize path and displays the actual response received from the backend, preventing the infinite loading loop.

Impact:

These updates ensure a reliable and energy-efficient token refresh process across different app states, improve error handling during OAuth authorization, and prevent the infinite loading issue, thereby enhancing the overall user experience and robustness of the SDK.

v1.2.21

23 Aug 00:35
8f59d85
Compare
Choose a tag to compare

v1.2.21

  • Use JobScheduler instead of TimerTask for refreshing token