Closed guidogoni closed 4 years ago
More info on this case, campaign had a load error from the marketing team, matches regex value was wrong (closing parenthesis before regex ended), this caused the app to explode as it was called on a view event.
My suggestion is for the web interface to advice on a wrong regex, not allowing it to apply. Although the SDK should verify the content of the regex so it won't explode using it directly in the app.
If you need any further information please ask.
Thanks!
@guidogoni I believe this issue has been fixed in version 3.23.0 of the SDK. If you can try upgrading to the latest SDK it should no longer crash on invalid regular expressions. Please let me know if this does address your issue, if not I'll get started on a fix right away. We are also discussing regex validation in the web interface too.
Thanks @tbelote , effectively this has been fixed. Also, I have seen the new web popup when the regex is wrong. I'll close the ticket.
Fatal Exception: NSInternalInconsistencyException Can't do regex matching, reason: Can't open pattern U_REGEX_MISMATCHED_PAREN -[ABKTriggerPropertyFilter matchValue:]