Xamarin.Forms, how to find a compatible version of the Android support library with my current Xamarin.Forms

As the Xamarin document says, it is not possible to update the Android support library to the latest version if Xamarin.Forms does not support it, since I see that there is a version for update 25.1.1 for the Android support library, I am not sure what my Xamarin.Forms is agrees with that! so how can i find a compatible version for each version of Xamarin.Forms?

+5
source share
1 answer

When using the monoandroid10 framework, monoandroid10 Xamarin.Forms blocked for a specific version of Android support, but provided that you target the monoandroid70 / monoandroid71 , Xamarin.Forms 2.3.3.193 and higher are now blocked on minimun Only the Android support version.

  • Xamarin.Forms 2.3.3.180 (and earlier) = monoandroid10 support only

    • Each release was locked for a single version of Android support.

    • Android support version = 23.3.0 (only) (package fingerprint range: [23.3.0, 23.3.0] )

  • Xamarin.Forms 2.3.3.193 = first supported version of monoandroid70

    • Minimun Android Support version = 23.3.0 (fingerprint range: [23.3.0, ) )

Thus, this means Xamarin.Forms versions 2.3.3.193, 2.3.4.224, 2.3.4.231 and 2.3.5.233-pre1 (latest), you can use Android 23.3.0 and higher support for monoandroid70 +.

Note. Xamarin.Forms 2.3.3.193 and later also support the MonoAndroid10 structure, and when used in this structure, each version of Forms is still blocked for one version of Android support.

Note. In a future version of Forms, the minimum version of the support level will be increased when Android-based rendering requires new support functions.

As a quick online link, you can always see the Nuget dependencies for a specific version of the forms

Or take the jug nuget v3 package and use jq to analyze it for the Nuget dependency range (I used to automatically create / publish the version table, but with newer frameworks it is no longer needed)

 curl -s https://api.nuget.org/v3/registration1-gz/xamarin.forms/page/2.3.3.193/2.3.5.233-pre1.json | gunzip | jq '.items | .[0] | .catalogEntry | .dependencyGroups | .[0] | .dependencies | .[0] | .range ' "[23.3.0, )" 
+4
source

Source: https://habr.com/ru/post/1266749/


All Articles