- Fix Android 10 WebView crash on onCheckIsTextEditor call
- Add
HCaptchaConfig.diagnosticLog
to log diagnostics that are helpful during troubleshooting
- Fix dialog dismiss crash in specific scenario
- Disabled cleartext traffic (
android:usesCleartextTraffic="false"
added toAndroidManifest.xml
) hcaptcha-form.html
asset moved into a variable
- Add
TOKEN_TIMEOUT
error triggered after a certain configured number of seconds elapsed from the token issuance.
- Fix checkbox view not dismissible
- Fix double close error reporting
- Add
pmd
,checkstyle
,spotbugs
tools to build system (#40)
- Add new boolean config option
HCaptchaConfig.hideDialog
. - (breaking change) Change the behavior of
addOnSuccessListener
,addOnFailureListener
andaddOnOpenListener
methods.- previously: the callbacks were removed after utilization
- currently: the callbacks are persisted to be reused for future calls on the same client. This allows multiple human verifications using the same client and the same callback.
- Add new callback
addOnOpenListener
.
- Add
HCaptcha.setup
method to improve cold-start time, enable asset caching (#24)
- Add more error codes (see readme for full list)