diff --git a/android/configuration.html b/android/configuration.html index 5c0f940..4930486 100644 --- a/android/configuration.html +++ b/android/configuration.html @@ -212,8 +212,25 @@

Options

Hotwire.registerBridgeComponents(
BridgeComponentFactory("my-custom", ::MyCustomComponent)
)

Set the JSON converter used for bridge components:

Hotwire.config.jsonConverter = KotlinXJsonConverter()
-

Customize the user agent:

-
Hotwire.config.userAgent = "My Application; ${Hotwire.config.userAgentSubstring()}"
+

Set a custom user agent application prefix for every WebView instance. The library will automatically append a substring to your prefix which includes:

+ +
Hotwire.config.applicationUserAgentPrefix = "My Application;"

Next: Reference