- Bugfix: always dim background if checkbox is visible (#72)
- Show loading screen until the challenge is open when size is
HCaptchaSize.INVISIBLE
- Rename
ic_logodrawable to avoid possible collisions with a host app's drawables - Prevent closing hCaptcha view on loading container click
- Fix Android 10 WebView crash on onCheckIsTextEditor call
- Add
HCaptchaConfig.diagnosticLogto 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.htmlasset moved into a variable
- Add
TOKEN_TIMEOUTerror 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,spotbugstools to build system (#40)
- Add new boolean config option
HCaptchaConfig.hideDialog. - (breaking change) Change the behavior of
addOnSuccessListener,addOnFailureListenerandaddOnOpenListenermethods.- 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.setupmethod to improve cold-start time, enable asset caching (#24)
- Add more error codes (see readme for full list)