From 62844d070818ff552398cd88f8369ffb5330660a Mon Sep 17 00:00:00 2001 From: jayohms Date: Wed, 18 Dec 2024 13:49:23 +0000 Subject: [PATCH] deploy: 1e034a8162cc6d4b54d9f971b1ec21f17ad379c3 --- android/configuration.html | 21 +++++++++++++++++++-- ios/configuration.html | 8 +++++++- 2 files changed, 26 insertions(+), 3 deletions(-) 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