Skip to content

Releases: frontegg/frontegg-ionic-capacitor

v2.0.10

30 Sep 19:34
982d8e3
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.

v2.0.9

06 Sep 12:29
6785e56
Compare
Choose a tag to compare

Key Changes:

  • Added support for ephemeral sessions.
  • Fixed event subscription issues.
  • Upgraded Frontegg native SDKs.
  • Updated integration guide in the README for clarity.

Android SDK Updates:

  • Token Refresh Improvements:

    • Implemented TimerTask to enable immediate token refresh in the foreground.
    • Integrated JobScheduler for efficient background token refresh operations.
    • Added a retry mechanism to handle failed background jobs.
    • Enhanced state transition management between the foreground and background.
    • Improved handling of near-expiry tokens with proactive refresh mechanisms.
    • Introduced checks to monitor the status of token refresh.
  • OAuth/Authorize Error Fix:

    • Resolved an issue causing infinite loading on the /oauth/authorize page by correctly handling backend errors.

iOS SDK Updates:

  • Demo App and Documentation:

    • Addressed issues in the demo app and updated the README for better integration instructions.
  • OAuth Error Handling:

    • Improved error handling for smoother OAuth authorization processes.
  • Codebase Cleanup:

    • Removed unnecessary logs and fixed a typo related to ephemeralSession functionality.
  • Refresh Token Enhancements:

    • Enhanced token refresh logic, particularly during transitions between active and background states.

v2.0.8

30 Jul 16:13
58bbf76
Compare
Choose a tag to compare

v2.0.8

  • MultiApp Support: Added support for MultiApp functionality.
  • [iOS] Social Login Fixes: Resolved issues related to social logins.
  • [Android] Post-Authentication Navigation: Implemented support for navigating to a specific activity after authentication.
  • [Android] Back Button Behavior: Enhanced the login page to close when the back button is pressed during DirectLoginAction.
  • [Android] Encrypted Shared Preferences: Introduced support for encrypted shared preferences.

v2.0.7

06 May 08:54
a509549
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.

v2.0.6

17 Mar 13:56
f5acc7a
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

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

v2.0.5

11 Jan 02:10
6aeac35
Compare
Choose a tag to compare

Enhancements

  • Hosted Login URL Improvement:
    • Enhanced the hosted login feature by fixing the direct URL issue. This update ensures a smoother login experience and reduces navigation complexities.
    • Fix iOS hosted login direct action url frontegg/frontegg-ios-swift#31
  • Prompt Login Integration:
    • Introduced a prompt login feature for the direct login action flow. This enhancement streamlines user authentication, making the process more intuitive and user-friendly.
  • Automated Versioning and Publishing:
    • Implemented GitHub workflows to automate the versioning and publishing processes. This automation ensures consistent and error-free releases, improving the overall development lifecycle.

Bug Fixes

  • OAuth Redirect Error Resolution:
    • Resolved a critical issue where non-logged-in users encountered a 404 error during the OAuth redirect process.

Required Actions

To ensure the smooth functioning of this version, please take the following actions:

  1. Update Your Hosted Login Redirect URL:
    • Incorporate the following URLs to your hosted login redirect:
      • Custom Scheme: {{ANDROID_PACKAGE_NAME}}://{{FRONTEGG_BASE_URL}}/android/oauth/callback
      • Assetlinks: https://{{FRONTEGG_BASE_URL}}/oauth/account/redirect/android/{{ANDROID_PACKAGE_NAME}}
  2. Application Initialization Check:
    • Confirm that useAssetLinks:false is not set in your application initialization to avoid potential conflicts.

v2.0.4

09 Jan 12:15
1e19a0b
Compare
Choose a tag to compare

Upgrade FronteggSwift version in pod file

v2.0.3

09 Jan 12:05
bbc0649
Compare
Choose a tag to compare
  • Update README file for the new integration guide for android
  • [iOS] Removed webView.isInspectable = true for older xcode versions

v2.0.2

08 Jan 21:36
d66dd69
Compare
Choose a tag to compare

New Features

  1. (Android) Hosted Login Callback Navigation: To streamline the authentication process, this update introduces an automatic redirection to the login page if the callback from the hosted login fails. This ensures a smoother authentication experience for users.

  2. Asset Link Usage Option: This new feature allows the use of asset links instead of custom URL schemes. This change simplifies the login process by eliminating the need for a continue button, thereby reducing the number of steps users need to take.

Fixes

  1. (Android) Custom Social Login Redirection: This update resolves an issue with the redirection process in custom social logins. Users will now be correctly redirected after authenticating, ensuring a seamless login experience.

  2. (Android) Intent Filters: Problems with intent filters have been fixed, enhancing the app's capability to handle various intents and deep links accurately.

  3. (Android) HTTP Check Prefix: Addresses a bug in the HTTP check prefix within the Android native SDK, ensuring correct handling of fronteggDomain parameter.

  4. Single/Multi-Region Types and Initialization: Fixes bugs related to single and multi-region types, as well as initialization issues, for more stable and reliable performance.

Enhancements

  1. (Android) Error Page Implementation: In place of infinite loops during failures, error pages have been introduced. These pages provide clear information to the users, significantly improving the user experience in case of errors.

v2.0.0

20 Dec 22:07
67b8a40
Compare
Choose a tag to compare

Enhancements

  • Removed URL Display: The URL display has been removed from the error page to streamline user experience.
  • Authentication Flow Improvement: Resolved an issue where the loading screen remained stuck post-authentication via ASWebAuthenticationSession.
  • Native Bridge Control: Introduced an option to enable or disable the native bridge for social logins, SAML, and OIDC in embedded mode, providing greater flexibility.
  • Manual Initialization: Added functionality for manual initialization of the plugin, offering more control to developers.
  • Updated Dependencies: Dependencies have been updated to address known security vulnerabilities, ensuring a more secure environment.

Breaking Changes

  • Discontinued Support for Individual Platform Configuration: As of version 2.0.0, adding the Base URL and Client ID individually for each native platform (iOS and Android) is discontinued. It is now mandatory to specify your Base URL and Client ID in the capacitor.config.ts file under the FronteggNative plugins section.

Example Configuration in CapacitorConfig:

const config: CapacitorConfig = {
  appId: 'com.frontegg.demo',
  appName: 'FronteggIonicExample',
  webDir: 'www',
  server: {
    androidScheme: 'https'
  },
  plugins: {
    FronteggNative: {
      // For single region configuration
      baseUrl: "https://example.auth.frontegg.com",
      clientId: "12345678-90ab-cdef-1234-567890abcdef",

      // For multi-region configuration
      regions: [{
        key: 'eu',
        baseUrl: 'https://eu.example.auth.frontegg.com',
        clientId: 'abcd1234-ef56-7890-abcd-efgh5678ijkl'
      }, {
        key: 'us',
        baseUrl: 'https://us.example.auth.frontegg.com',
        clientId: 'ijkl7890-ab12-cd34-ef56-ghij7890klmn'
      }]
    }
  }
};

Note: The URLs and Client IDs in this example are fictitious and should be replaced with actual data as required.


These updates aim to enhance the overall performance and security of the Frontegg Ionic Capacitor Plugin while aligning with the latest development standards and practices.