data-binding-validator
data-binding-validator copied to clipboard
Email validation not working on release variant
Email validation is ignored when app is launched with release variant. Odd that the same code built with debug variant works perfectly, as well as the other validations (telephone and empty fields).
Assured that XML has the correct attributes:
app:validateType='@{"email"}'
And in code:
validator.enableFormValidationMode()
validator.validate(editTextsCollection)
The dependency is the last one:
implementation 'com.github.Ilhasoft:data-binding-validator:2.0.0'
I can't reproduce the problem, it worked normally on my last test running under the same conditions.
Can you try provide more details?