Skip to content

Add WebView tracker integration to the React Native tracker - #1399

Merged
Matus Tomlein (matus-tomlein) merged 2 commits into
release/4.2.0from
issue/web_view_rn
Jan 2, 2025
Merged

Add WebView tracker integration to the React Native tracker#1399
Matus Tomlein (matus-tomlein) merged 2 commits into
release/4.2.0from
issue/web_view_rn

Conversation

@matus-tomlein

Copy link
Copy Markdown
Contributor

Add integration with the WebView tracker.

Part of this is the same integration that we already had in the previous RN tracker for the basic types of events.

However, it also implements a trackWebViewEvent message type which contains the raw payload values in the same format as Miranda Wilson (@mscwilson) implemented in the Android tracker. So this is aimed at the next WebView tracker version and integrating that with JS tracker.

@bundlemon

bundlemon Bot commented Dec 10, 2024

Copy link
Copy Markdown

BundleMon

Files added (6)
Status Path Size Limits
trackers/javascript-tracker/dist/sp.js
+24.54KB 30KB / +10%
libraries/browser-tracker-core/dist/index.mod
ule.js
+23.59KB 25KB / +10%
libraries/tracker-core/dist/index.module.js
+19.5KB 20KB / +10%
trackers/browser-tracker/dist/index.umd.min.j
s
+17.44KB 20KB / +10%
trackers/javascript-tracker/dist/sp.lite.js
+17.39KB 20KB / +10%
trackers/browser-tracker/dist/index.module.js
+3.49KB 5KB / +10%

Total files change +105.95KB 0%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment thread trackers/react-native-tracker/src/web_view_interface.ts
@matus-tomlein
Matus Tomlein (matus-tomlein) changed the base branch from wip/react-native to release/4.2.0 January 2, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants