larryaasen / upgrader

A Flutter package for prompting users to upgrade when there is a newer version of the app in the store.
MIT License
557 stars 271 forks source link

How to specify minAppVersion using appcast instead of playstore? #406

Open Parzivalxx opened 5 months ago

Parzivalxx commented 5 months ago

Hi, how can i specify the minAppVersion when using appcast? I have tried including minAppVersion in the Upgrader class in my new code but it is not working.

I am doing internal testing now where I reach a public appcasturl to get details of the latest release. I also cannot specify the minAppVersion in google play yet since it is not released. How can i do and test it?

larryaasen commented 4 months ago

@Parzivalxx For minAppVersion in Appcast use <sparkle:criticalUpdate/>. You can see an example here: https://github.com/larryaasen/upgrader/blob/master/test/testappcast_critical.xml