@checkout-kit/webview-bridge / WebViewBridgeOptions
Interface: WebViewBridgeOptions
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
onCommand? | readonly | (command) => void | - |
onError? | readonly | (error) => void | Bridge delivery failures do not interrupt the payment engine. |
reportHeight? | readonly | boolean | Reports the document height so the host can size the WebView. |
sessionId? | readonly | string | - |
target? | readonly | BridgeTarget | null | Defaults to window.ReactNativeWebView. Injectable for tests. |