Xamarin forms: Plugin.LatestVersion.LatestVersionException: Error comparing current app version number with latest

Sreejith Sreenivasan 851 Reputation points
2022-10-05T14:57:27.373+00:00

I am getting the below exception from the Xam.Plugin.LatestVersion plugin on my xamarin forms app:

Plugin.LatestVersion.LatestVersionException: Error comparing current app version number with latest.

I found the same issue reported over here and here on GitHub. Also, the same issue is reported on the stack. I tried the solutions suggested on the above thread, but no luck.

I have updated my plugin version to the latest(2.1.0), but the same exception is showing. Any solution for this issue? The issue is only on the Android platform.

Update:

I have tried the 2.1.1-beta.107 version, now getting another exception.

Plugin.LatestVersion.LatestVersionException: Error parsing content from the Play Store. Url=play store url&hl=en. ---> Jurassic.JavaScriptException: TypeError: undefined cannot be converted to an object
at Jurassic.TypeConverter.ToObject (Jurassic.ScriptEngine engine, System.Object value, System.Int32 lineNumber, System.String sourcePath, System.String functionName) [0x00037] in <018e8bf6db3d46cd85eb0a9bc95f4b3f>:0

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
{count} votes