Skip to content

Add sessionContext and devicePlatform options to React Native tracker configuration - #1401

Merged
Matus Tomlein (matus-tomlein) merged 3 commits into
release/4.2.0from
issue/minor_rn_changes
Jan 6, 2025
Merged

Add sessionContext and devicePlatform options to React Native tracker configuration#1401
Matus Tomlein (matus-tomlein) merged 3 commits into
release/4.2.0from
issue/minor_rn_changes

Conversation

@matus-tomlein

@matus-tomlein Matus Tomlein (matus-tomlein) commented Jan 2, 2025

Copy link
Copy Markdown
Contributor

Adds a couple of configuration options that I forgot to add in the previous PRs:

  • sessionContext for enabling session tracking
  • devicePlatform for overriding the default platform through configuration

@bundlemon

bundlemon Bot commented Jan 2, 2025

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

@matus-tomlein
Matus Tomlein (matus-tomlein) merged commit cba41e8 into release/4.2.0 Jan 6, 2025
@matus-tomlein
Matus Tomlein (matus-tomlein) deleted the issue/minor_rn_changes branch January 6, 2025 11:43
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