Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

[Bug] Why does Xamarin.Essentials have an upper limit on Xamarin.AndroidX.Browser? #2019

Closed
SaqibS opened this issue Jun 9, 2022 · 16 comments · Fixed by #2038
Closed

[Bug] Why does Xamarin.Essentials have an upper limit on Xamarin.AndroidX.Browser? #2019

SaqibS opened this issue Jun 9, 2022 · 16 comments · Fixed by #2038
Labels
bug Something isn't working
Milestone

Comments

@SaqibS
Copy link

SaqibS commented Jun 9, 2022

In a Xamarin.Android project, getting errors having Xamarin.Essentials 1.7.3 and Xamarin.AndroidX.Browser 1.4.0.2.

This is because Xamarin.Essentials has a constraint that Xamarin.AndroidX.Browser < 1.4.0.

I could downgrade either of the packages, trying to figure out which one is less criticial, but also curious why this constraint exists?

@SaqibS SaqibS added the bug Something isn't working label Jun 9, 2022
@tranb3r
Copy link

tranb3r commented Jun 9, 2022

Dependency hell:
Xamarin.Firebase.Auth 121.0.1.7 -> Xamarin.AndroidX.Browser (>= 1.4.0.1)
Xamarin.Essentials 1.7.3 -> Xamarin.AndroidX.Browser (>= 1.3.0.5 && < 1.4.0)
Xamarin.Forms 5.0.0.2478 -> Xamarin.AndroidX.Browser (>= 1.3.0.6 && < 1.4.0)

@jfversluis
Copy link
Member

I think the constraint exists because in the past we have been dealing with breaking changes that came through the dependencies and were reported to us. That's why we decided to limit it to versions we know. I guess we can update it for a minor version increase. Especially the discrepancy between Forms and Essentials isn't great. I'll see if I can smoothen that out for a next release.

@jfversluis jfversluis added this to the 1.7.4 milestone Aug 25, 2022
@copang
Copy link

copang commented Sep 27, 2022

Any new update? I'm looking forward to version 1.7.4 :(

@AlexanderVanMeerten
Copy link

And for Xamarin.Forms support for Xamarin.AndroidX.Browser 1.4.0

@ghost
Copy link

ghost commented Oct 31, 2022

Any update? PR #2038 is still open

@AndreyPhilippov
Copy link

Any updates? Since we have this restriction i can't use some other nuget packages requiring Xamarin.AndroidX.Browser >= 1.4.0

@uwe-neuronation
Copy link

Any updates? I guess it the same issue like #2057
Is there any workaround already?

@mohibsheth
Copy link

I'm again having the same problem.

Unable to resolve dependencies. 'Xamarin.AndroidX.Browser 1.4.0.4' is not compatible with 'Xamarin.Essentials 1.7.5 constraint: Xamarin.AndroidX.Browser (>= 1.3.0.5 && < 1.4.0.3)'

I'm unable to update to 1.4.0.4 due to the constraint with Xamarin.Essentials however I need 1.4.0.4 to update another nuget.

@RealSourceOfficial
Copy link

+1, I can't use the Xamarin Essentials either

@Kanat9494
Copy link

I am trying to use Xamarin.Firebase.Auth in net maui

@lufo88ita
Copy link

This topic was opened 1 year ago! No fix or news?

@MitchBomcanhao
Copy link

This topic was opened 1 year ago! No fix or news?

Perhaps the newer beta essentials version with newer android api support will have changes in this area? Am on holidays now so cannot try it but I'd definitely try it if I were you

@MitchBomcanhao
Copy link

MitchBomcanhao commented Jun 20, 2023

@lufo88ita the nuget page for the new version mentions this as its dependency:

Edit - this was wrong ignore this post

@MitchBomcanhao
Copy link

Correcting my previous post, the new preview release has this dependency

Xamarin.AndroidX.Browser (>= 1.3.0.5 && <= 1.6.0)

@lufo88ita
Copy link

Great, but Xamarin is a product by Microsoft, I will expect the news from a member of the team :-)

@malotho
Copy link

malotho commented Mar 2, 2024

Xamarin has to be the worst supported product in all Microsoft

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

Successfully merging a pull request may close this issue.