Recommended automatic update libraries for Xamarin.Mac

tomityu 26 Reputation points
2021-03-18T03:55:08.257+00:00

I'm developing with Visual Studio for Mac using Xamarin.

I'm distributing on my website, not AppStore, and I'd like to add an auto-update feature, do you know any good libraries?
I know SparkleSharp, but it has been out of date for 4 years now, so I'm thinking it's not very desirable.

I tried to create the sparkle bindings myself, but it was not practical to fix the 14145 errors in ApiDefinitions.cs...

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

Accepted answer
  1. John Conners 81 Reputation points
    2021-03-18T16:54:58.697+00:00

    I've been using Sparkle with my Xamarin.Mac app for years without any problems. I literally only use CheckForUpdates and CheckForUpdatesInBackground via SUUpdater.SharedUpdater so there's no need for me to bind to the full entirety of the API. My bindings are even more minimal than the one in SparkleSharp but since those APIs haven't changed it continues to work happily.

    The only additional thing I do is when signing my app I also re-sign Sparkle.framework/Versions/A/Resources/Autoupdate.app and the framework itself (using the hardened runtime) with my certificate.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful