What's Changed
- Introduce dedicated Facebook auth modules (
kmpauth-firebase-facebookandkmpauth-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 aFacebookUserobject 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 onkmpauth-facebookandkmpauth-firebase. It uses the token fromkmpauth-facebookto authenticate the user with Firebase. The composable is renamed toFacebookButtonUiContainerFirebasefor 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
iosX64target tokmpauth-firebase - Migrates from
compose.materialtocompose.material3inkmpauth-firebaseandsampleApp.
Full Changelog: v2.4.0-alpha05...v2.5.0-alpha01