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

How to update StoredSkippedVersion from custom UI #394

Closed skyfoxa closed 2 years ago

skyfoxa commented 2 years ago

Hey, is there a way how to update StoredSkippedVersion in UserDefaults when custom prompt is used? We would like to use custom design instead of system alerts, but I'm not sure how to control Skip version flow from there.

ArtSabintsev commented 2 years ago

There is not a way to update the value. You can definitely build custom modals that present based of your own rules, but that logic of when to skip/present is something you'll have to build yourself as that's too specific for a general purpose library such as this one.