FirebaseExtended/flutterfire_desktop

Dependency Issue while installing firebase_auth_desktop

codebridgepro opened this issue · 2 comments

Bug report

firebase_core: ^2.3.0
firebase_auth_desktop: ^1.0.2

Because firebase_auth_desktop 1.0.2 depends on firebase_core ^1.20.0 and no versions of firebase_auth_desktop match >1.0.2 <2.0.0, firebase_auth_desktop ^1.0.2 requires firebase_core ^1.20.0.
So, because codebridge depends on both firebase_core 2.2.0 and firebase_auth_desktop ^1.0.2, version solving failed.
pub get failed (1; So, because codebridge depends on both firebase_core 2.2.0 and firebase_auth_desktop ^1.0.2, version solving failed.)

It's the same issue.

We are developing multi-platform apps (desktop, mobile, web).

firebase_core: ^1.20.0
firebase_core_desktop: ^1.0.2
firebase_auth: ^4.2.6
firebase_auth_desktop: ^1.0.2
firebase_storage: ^11.0.10
firebase_dynamic_links: ^5.0.11
firebase_app_check: ^0.1.1+8
cloud_firestore: ^4.3.1
cloud_functions: ^4.0.7

Because firebase_auth_desktop >=1.0.2 depends on firebase_core ^1.20.0 and pronto depends on firebase_core ^2.5.0, firebase_auth_desktop >=1.0.2 is forbidden.
So, because pronto depends on firebase_auth_desktop ^1.0.2, version solving failed.
pub get failed
command: "C:\Dev\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example"
pub env: {
  "FLUTTER_ROOT": "C:\Dev\flutter",
  "PUB_ENVIRONMENT": "flutter_cli:verify:run",
  "PUB_CACHE": "C:\Users\SintPatrick\AppData\Local\Pub\Cache",
}
exit code: 1

firebase_core is on 2.17.0 at the time of writing. The fact that there is no compatible firebase_auth_desktop since 1.20.0 is very disappointing