- Feature: new
orientation
argument to set either.portrait
or.landscape
challenge orientation.
- Fix: release job in CI (#108)
- Fix: call completion on WebContent process termination
- Added: handle possible WebView navigation errors
- Added: non-blocking initialization path
- Fix: Call configureWebView in case if WebView size wasn't changed (#98) (#91)
- Fix: open _black links from WebView (#100)
- Added pod size diff report (#96)
- Added benchmarking for public API (#95)
- Fix: callback called twice on close error
- Feature:
hcaptcha-form.html
asset moved into a variable
- Fix: double call of
completion
for.challengeClosed
error
- Feature: support more events in
onEvent
(#78)
- Feature: the SDK allows you to receive interaction events for your analytics via the
onEvent
method (#72)
- Infrastructure: CI now tests example app compilation for both Xcode 12.x and 13.x
- Change: you no longer need to set
webview.isHidden = true
on passive sitekeys. The webview is only unhidden if a visual challenge is shown, andconfigureWebView
is now called after WebView finishes loading.
- Breaking Change: error codes have been renamed and expanded to conform with the Android SDK.
- renamed:
.responseExpired
->.sessionTimeout
- renamed:
.failedRender
->.rateLimit
- added:
.networkError
(#41)
- renamed:
- Feature: pass
rqdata
to hCaptcha initializer (#24) - Feature: support Swift Package Manager (#5)
- Feature: pass
host
to hCaptcha initializer (#14) - Feature: pass
theme
,customTheme
to hCaptcha initializer (#27)
- RxSwift 6.2.0
- Feature: pass desired checkbox-mode to hCaptcha initializer
- Feature: captcha can be dismissed by tapping outside of it
- Fix: checkbox is centered both vertically and horizontally during presentation
- Change: synced internal error codes with android-sdk
- Change: synced html captcha-container id with android-sdk
- Example: cosmetic updates to Example app to handle long passcodes
- Docs: add troubleshooting section
- Feature: userClosed error type added
- Docs: explain host override, alternate endpoint use
- Swift 5.0 support
- Feature:
didFinishLoading
callback notifier