web_view_integration library
Classes
- Message
- Represents a message received from the WebView, parsed into structured data. Contains the command, the event, any associated contexts, and optional tracker namespaces.
- MessageEvent
- Represents a parsed WebView message and its possible event types. Only one event type will be set based on the command.
- WebViewIntegration
- A utility class to integrate Snowplow tracking with a WebView. Parses incoming messages and tracks the events using a given tracker.
Typedefs
- JavaScriptMessageHandler = void Function(String message)