Skip to content

v2.5.0-alpha01

Latest

Choose a tag to compare

@mirzemehdi mirzemehdi released this 02 Jan 00:52
· 1 commit to main since this release

What's Changed

  • Introduce dedicated Facebook auth modules (kmpauth-firebase-facebook and kmpauth-facebook) by @mirzemehdi in #163
  • Upgrade dependencies and add iosX64 target by @mirzemehdi in #164
  • Fix(google-jvm): Use dynamically found port for redirect URI by @mirzemehdi in #165

⚠️ Breaking Change — Facebook Login Removed from kmpauth-firebase

Facebook login support is no longer bundled inside kmpauth-firebase.

If you want to continue using Facebook authentication with Firebase, you must now add the following dependency:

implementation("io.github.mirzemehdi:kmpauth-firebase-facebook:<version>")
  • kmpauth-facebook: This new module encapsulates the platform-specific logic for handling Facebook login. It returns a FacebookUser object containing the access token and nonce upon a successful login, but it does not perform any Firebase authentication itself.
  • kmpauth-firebase-facebook: This module depends on kmpauth-facebook and kmpauth-firebase. It uses the token from kmpauth-facebook to authenticate the user with Firebase. The composable is renamed to FacebookButtonUiContainerFirebase for clarity.

This separation improves modularity by decoupling the core Facebook sign-in flow from the Firebase implementation, allowing for more flexible use of the authentication providers. Dependencies in kmpauth-firebase have been updated accordingly.

Additionally, this change:

  • Adds the iosX64 target to kmpauth-firebase
  • Migrates from compose.material to compose.material3 in kmpauth-firebase and sampleApp.

Full Changelog: v2.4.0-alpha05...v2.5.0-alpha01