Essentials
Essentials copied to clipboard
[Bug] Why does Xamarin.Essentials have an upper limit on Xamarin.AndroidX.Browser?
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?
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)
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.
Any new update? I'm looking forward to version 1.7.4 :(
And for Xamarin.Forms support for Xamarin.AndroidX.Browser 1.4.0
Any update? PR #2038 is still open
Any updates? Since we have this restriction i can't use some other nuget packages requiring Xamarin.AndroidX.Browser >= 1.4.0
Any updates? I guess it the same issue like #2057 Is there any workaround already?
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.
+1, I can't use the Xamarin Essentials either
I am trying to use Xamarin.Firebase.Auth in net maui
This topic was opened 1 year ago! No fix or news?
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
@lufo88ita the nuget page for the new version mentions this as its dependency:
Edit - this was wrong ignore this post
Correcting my previous post, the new preview release has this dependency
Xamarin.AndroidX.Browser (>= 1.3.0.5 && <= 1.6.0)
Great, but Xamarin is a product by Microsoft, I will expect the news from a member of the team :-)
Xamarin has to be the worst supported product in all Microsoft