Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 820 Bytes

File metadata and controls

21 lines (12 loc) · 820 Bytes

Home > @snowplow/react-native-tracker > getWebViewCallback

getWebViewCallback() function

Enables tracking events from apps rendered in react-native-webview components. The apps need to use the Snowplow WebView tracker to track the events.

To subscribe for the events, use as the onMessage prop for a WebView component.

Signature:

export declare function getWebViewCallback(): WebViewMessageHandler;

Returns:

WebViewMessageHandler

Callback to subscribe for events from Web views tracked using the Snowplow WebView tracker.