Closed frank137 closed 2 years ago
Yes, see this example: https://github.com/ArtSabintsev/Siren/blob/master/Example/Example/AppDelegate.swift#L121
Yes, see this example: https://github.com/ArtSabintsev/Siren/blob/master/Example/Example/AppDelegate.swift#L121
Hi Art, Thanks for your quick reply! As far as I understand in that example the custom strings will be applied to all rules.
Is there a way that I can have a different string for each different rule?
Like alert title for .annoying to be "Annoying Alert" And alert title for .critical to be "Critical Alert"
Or am I missing something obvious? Thanks again!
Ah, no, no way to do it without building your own custom modal. That's too much of an edge case to support here.
Is there a way to show a different text in the alert depending on the type of alert? For example,
If my Rule says that for a minor update I want the rule to be .annoying and for a major update the rule is .critical, then can I show a different body and title in the alert?
Thanks!
Frank