ArtSabintsev / Siren

Notify users when a new version of your app is available and prompt them to upgrade.
http://sabintsev.com/
MIT License
4.24k stars 407 forks source link

Ignore skipped versions when using AlertType.force #405

Closed aburgel closed 1 year ago

aburgel commented 1 year ago

If AlertType.force, it implies that the app wants the user to update, so any skipped versions should be ignored at that point.

To address this, I moved the skip version check after the rules are loaded, and only allow skipping if the rule alert type is not .force.

Fixes #402

ArtSabintsev commented 1 year ago

Seems to work well. Thanks!