Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG : version solving failed! #185

Closed
3 tasks done
moses-team-ge opened this issue Oct 11, 2024 · 14 comments · Fixed by #186 or #191
Closed
3 tasks done

BUG : version solving failed! #185

moses-team-ge opened this issue Oct 11, 2024 · 14 comments · Fixed by #186 or #191
Assignees
Labels
bug Something isn't working

Comments

@moses-team-ge
Copy link

After version update to 3.0.0 dart pub get shows an error:

Because rudder_integration_firebase_flutter depends on rudder_sdk_flutter ^2.10.0 which depends on rudder_sdk_flutter_platform_interface ^2.9.0, rudder_sdk_flutter_platform_interface ^2.9.0 is required.
So, because rudder_integration_firebase_flutter depends on rudder_sdk_flutter_platform_interface ^3.0.0, version solving failed.

Please provide the following information:

  1. Set rudder_integration_firebase_flutter: ^3.0.0 and rudder_sdk_flutter: ^3.0.0
  2. Run dart pub get
  3. Issue stacktrace: https://pub.dev/packages/rudder_integration_firebase_flutter/versions/3.0.0/score/log.txt
  • Android
  • iOS
  • Both Android and iOS

Expected behavior
Correct installation of pub package

@moses-team-ge moses-team-ge added the bug Something isn't working label Oct 11, 2024
@saikumarrs
Copy link
Member

Hi @moses-team-ge
Thanks for reaching out to us.
We'll look into it and get back to you.

@1abhishekpandey 1abhishekpandey self-assigned this Oct 15, 2024
@1abhishekpandey
Copy link
Contributor

Hey @moses-team-ge,

Thank you for raising this issue.

We have identified the issue and are actively working on providing a fix. In the meantime, we kindly request you to temporarily use the following versions:

  1. rudder_sdk_flutter: 2.10.0
  2. rudder_integration_firebase_flutter: 2.3.0

These versions should avoid the conflict by ensuring compatibility with rudder_sdk_flutter_platform_interface ^2.9.0.

We will notify you once the fix is provided.

@sergei-moiseev
Copy link

  1. rudder_sdk_flutter: 2.10.0
  2. rudder_integration_firebase_flutter: 2.3.0

Thanks, but this solution is not relevant for me, as I need to use the latest version of FirebaseCore and Crashlytics, as well as something like CloudMessaging.

@1abhishekpandey
Copy link
Contributor

So, to clarify, you want to use the latest versions of the following dependencies:

  1. Firebase-Android: com.google.firebase:firebase-analytics
  2. Firebase-iOS: FirebaseAnalytics

(Our Flutter-Firebase internally uses the above Firebase SDKs.)

@sergei-moiseev
Copy link

So, to clarify, you want to use the latest versions of the following dependencies:

I want to use the latest version of all Firebase products. =)
I am aware that there is an issue that requires attention, and I am patiently awaiting its resolution.

@moses-team-ge
Copy link
Author

We will notify you once the fix is provided.

Thank you! Waiting for fix!

@1abhishekpandey
Copy link
Contributor

Thanks for the confirmation.

Regarding the Flutter issue, we will prioritize it soon and aim to release a fix by the end of the month.
For the Firebase update you mentioned, I’ll forward this request to our team for further consideration.

@1abhishekpandey
Copy link
Contributor

Just to clarify,
@sergei-moiseev, are you from the same team that raised this issue?​

@sergei-moiseev
Copy link

Just to clarify, @sergei-moiseev, are you from the same team that raised this issue?​

Absolutely. =)

@1abhishekpandey 1abhishekpandey linked a pull request Oct 23, 2024 that will close this issue
10 tasks
@1abhishekpandey
Copy link
Contributor

We have released a fix for the package conflict issue. You can now use rudder_integration_firebase_flutter: ^4.0.0 and rudder_sdk_flutter: ^3.0.1.

For the Firebase update issue, we’ll aim to prioritize this soon.

@moses-team-ge
Copy link
Author

Okay... but now there is another issue with the FirebaseCore pod update.
Should I separate this into a new task?

[!] CocoaPods could not find compatible versions for pod "FirebaseCore":
  In Podfile:
    firebase_core (from `.symlinks/plugins/firebase_core/ios`) was resolved to 3.6.0, which depends on
      Firebase/CoreOnly (= 11.2.0) was resolved to 11.2.0, which depends on
        FirebaseCore (= 11.2.0)

    firebase_crashlytics (from `.symlinks/plugins/firebase_crashlytics/ios`) was resolved to 4.1.3, which depends on
      Firebase/Crashlytics (= 11.2.0) was resolved to 11.2.0, which depends on
        FirebaseCrashlytics (~> 11.2.0) was resolved to 11.2.0, which depends on
          FirebaseCore (~> 11.0)

    rudder_integration_firebase_flutter (from `.symlinks/plugins/rudder_integration_firebase_flutter/ios`) was resolved to 2.0.0, which depends on
      Rudder-Firebase (= 3.0.0) was resolved to 3.0.0, which depends on
        FirebaseAnalytics (= 10.3.0) was resolved to 10.3.0, which depends on
          FirebaseCore (~> 10.0)

@1abhishekpandey
Copy link
Contributor

I can see there’s a conflict with FirebaseCore. Our Firebase iOS SDK requires FirebaseCore (~> 10.0), while your native FirebaseCore is using a more recent version, 11.2.0.

If possible, you could override the FirebaseCore version to use an older version of the SDK that is compatible with ours. Alternatively, you can wait a little longer, as we are planning to release an update that will support FirebaseCore 11.4.0. (It'll take some time.)

@moses-team-ge
Copy link
Author

Okay. I'm waiting for fix. Thank you!

@1abhishekpandey 1abhishekpandey linked a pull request Nov 13, 2024 that will close this issue
10 tasks
@1abhishekpandey
Copy link
Contributor

Hey @moses-team-ge,

We’ve released an updated version of the Flutter Firebase integration with the latest Firebase Android and iOS SDKs. Please update to version rudder_integration_firebase_flutter: 4.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants