Skip to content

Commit 7984333

Browse files
jethronmatus-tomlein
authored andcommitted
Fix documentation build properly
Not sure what part of the escaping is failing here, so removing all the ambiguity.
1 parent d85cef2 commit 7984333

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

api-docs/docs/react-native-tracker/markdown/react-native-tracker.getwebviewcallback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

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

9-
To subscribe for the events, set the `onMessage` attribute: `<WebView onMessage={getWebViewCallback()} ... />`
9+
To subscribe for the events, use as the `onMessage` prop for a `WebView` component.
1010

1111
<b>Signature:</b>
1212

api-docs/docs/react-native-tracker/markdown/react-native-tracker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
| --- | --- |
1818
| [getAllTrackers()](./react-native-tracker.getalltrackers.md) | Retrieves all initialized trackers |
1919
| [getTracker(trackerNamespace)](./react-native-tracker.gettracker.md) | Retrieves an initialized tracker given its namespace |
20-
| [getWebViewCallback()](./react-native-tracker.getwebviewcallback.md) | 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, set the <code>onMessage</code> attribute: <code>&lt;WebView onMessage={getWebViewCallback()} ... /&gt;</code> |
20+
| [getWebViewCallback()](./react-native-tracker.getwebviewcallback.md) | 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 <code>onMessage</code> prop for a <code>WebView</code> component. |
2121
| [newTracker(configuration)](./react-native-tracker.newtracker.md) | Creates a new tracker instance with the given configuration |
2222
| [removeAllTrackers()](./react-native-tracker.removealltrackers.md) | Removes all initialized trackers |
2323
| [removeTracker(trackerNamespace)](./react-native-tracker.removetracker.md) | Removes a tracker given its namespace |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@snowplow/react-native-tracker",
5+
"comment": "",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@snowplow/react-native-tracker"
10+
}

trackers/react-native-tracker/src/web_view_interface.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ function webViewPayloadBuilder(pb: PayloadBuilder): PayloadBuilder {
111111
* Enables tracking events from apps rendered in react-native-webview components.
112112
* The apps need to use the Snowplow WebView tracker to track the events.
113113
*
114-
* To subscribe for the events, set the `onMessage` attribute:
115-
* `<WebView onMessage={getWebViewCallback()} ... />`
114+
* To subscribe for the events, use as the `onMessage` prop for a `WebView` component.
116115
*
117116
* @returns Callback to subscribe for events from Web views tracked using the Snowplow WebView tracker.
118117
*/

0 commit comments

Comments
 (0)