question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

conflict between FirebaseAdmin 1.17.1 and Google.Cloud.Firestore 2.2.0

See original GitHub issue

there is a conflict arises when I include both FirebaseAdmin 1.17.1 and Google.Cloud.Firestore 2.2.0 packages.

FirebaseAdmin 1.17.1 package has a dependency on Google.Api.Gax 2.7.0. Google.Cloud.Firestore 2.2.0 package has a dependency on Google.Api.Gax 3.2.0.

When installing both packages side by side in one .Net project, the FirebaseAdmin 1.17.1 automatically grabs the higher version Google.Api.Gax 3.2.0 which causes compile errors. specifically because the use of Microsoft.Bcl.AsyncInterfaces in Google.Api.Gax 3.2.0 while using System.Interactive.Async in Google.Api.Gax 2.7.0

I guess this issue belongs here because FirebaseAdmin is not restricting Google.Api.Gax dependency to version 2.7.0

When installing FirebaseAdmin 1.17.1 solely. google api gax

When installing both packages google api gax_together

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hiranya911commented, Oct 21, 2020

Our Gax dependency is due for an upgrade (see #251). I think the same PR should address this issue as well.

0reactions
mhDukecommented, Oct 21, 2020

Google.Api.Gax.Rest 3.2.0 should solve the issue. And yes, this is exactly what you might go for [2.0.0, 3.0.0). inclusive minimum, and exclusive maximum. I learnt some good stuff today. thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NET Core 3.1 System.Interactive.Async assembly issues
TheSpy opened this issue on Jul 8, 2020 · 9 comments ... conflict between FirebaseAdmin 1.17.1 and Google.Cloud.Firestore 2.2.0 #264.
Read more >
Release Notes | Firebase
The Firebase Admin Node.js SDK (v11.10.0) is now available. This release comes with improvements in the Cloud Storage, Cloud Firestore, Cloud Functions APIs ......
Read more >
Java/Spring using Google Cloud firebase-admin conflicts ...
What is interesting is that I can fix it by removing either one of the firebase-admin sdk or the cloud storage client library....
Read more >
Firebase Admin Node.js SDK Release Notes - Google
The Cloud Firestore API now supports the preferRest setting to force the use of REST transport until an operation requires gRPC. Cloud Messaging....
Read more >
Cloud Composer release notes
The following packages are now preinstalled in Cloud Composer images with Airflow 2.2.5: google-cloud-firestore , firebase-admin , gcfs , dbt-core ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found