InAppMessageNativeBridgeExtension

public class InAppMessageNativeBridgeExtension : NativeBridgeExtensionDelegate

Airship native bridge extension for an InAppMessage

  • Airship native bridge extension initializer

    Declaration

    Swift

    public init(message: InAppMessage)

    Parameters

    message

    In-app message

  • Declaration

    Swift

    @MainActor
    public func actionsMetadata(
        for command: JavaScriptCommand,
        webView: WKWebView
    ) -> [String: String]
  • Declaration

    Swift

    @MainActor
    public func extendJavaScriptEnvironment(
        _ js: JavaScriptEnvironmentProtocol,
        webView: WKWebView
    ) async