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 internal session plugin to the React Native tracker #1388

Open
wants to merge 5 commits into
base: wip/react-native
Choose a base branch
from

Conversation

matus-tomlein
Copy link
Contributor

@matus-tomlein matus-tomlein commented Nov 21, 2024

Adds an internal session plugin to the RN tracker that tracks session using the client_session context entity.

The session is persisted using the AsyncStorage dependency. Each restart of the app or new tracker will start a new session.

It should behave exactly the same as the session tracking in the previous version of the React Native tracker.

Copy link

bundlemon bot commented Nov 21, 2024

BundleMon

Files added (6)
Status Path Size Limits
trackers/javascript-tracker/dist/sp.js
+24.49KB 30KB / +10%
libraries/browser-tracker-core/dist/index.mod
ule.js
+23.44KB 25KB / +10%
libraries/tracker-core/dist/index.module.js
+19.48KB 20KB / +10%
trackers/browser-tracker/dist/index.umd.min.j
s
+17.4KB 20KB / +10%
trackers/javascript-tracker/dist/sp.lite.js
+17.33KB 20KB / +10%
trackers/browser-tracker/dist/index.module.js
+3.49KB 5KB / +10%

Total files change +105.62KB 0%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history

@matus-tomlein matus-tomlein marked this pull request as ready for review November 21, 2024 14:22
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.

1 participant