Webapp Integration

📘

Supported SDK version

This feature is supported for Android SDK 2.29.0 or above and JavaScript SDK 11.24.1 or above.

If you are rendering your website through a WebView, you can access all the features of the Hackle Android SDK via the Hackle JavaScript SDK integrated into your website without requiring changes to your website's code.

...
HackleApp.getInstance().setWebViewBridge(webView)
...
...
Hackle.app.setWebViewBridge(webView)
...

🚧

Hackle Android WebView setting utilizes Android's Javascript Interface to interact with the Hackle JavaScript SDK. Ensure that this setting is implemented before calling the WebView::loadUrl function.