ArtSabintsev / Siren

Notify users when a new version of your app is available and prompt them to upgrade.

Home Page:http://sabintsev.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change Rule or Alert Type in iOS?

Taimoor20 opened this issue · comments

I have integrated the latest version of this library in my iOS app. I could not find any option to change the rule or the alert type. By default, it is showing three options: 1. Update 2. Next time and 3. Skip

I jus want the update option which is for .force alert type but I am not able to change it. What can I do to change the rule to force?

I just find it. You can change the rule by adding this line:

Siren.shared.rulesManager = RulesManager(globalRules: .critical) ; Siren.shared.wail()