Ilhasoft / data-binding-validator

Android fields validation library based on data binding adapters.
Apache License 2.0
344 stars 53 forks source link

Email validation not working on release variant #34

Open pansardinicolas opened 4 years ago

pansardinicolas commented 4 years ago

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'

koallann commented 4 years ago

I can't reproduce the problem, it worked normally on my last test running under the same conditions.

Can you try provide more details?