Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

matus-tomlein
Copy link
Contributor

@matus-tomlein matus-tomlein commented Jan 2, 2025

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

Copy link

bundlemon bot commented Jan 2, 2025

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 merged commit cba41e8 into release/4.2.0 Jan 6, 2025
3 checks passed
@matus-tomlein matus-tomlein deleted the issue/minor_rn_changes branch January 6, 2025 11:43
matus-tomlein added a commit that referenced this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants