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

feat: add new packages for RN #2

Open
wants to merge 52 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
4630be4
feat: add new packages for RN
ilia-kurganskii Dec 20, 2024
e2f8fe2
fix: remove deps
ilia-kurganskii Dec 20, 2024
efc8ebb
fix: ignore browser sdk if flag enabled
ilia-kurganskii Dec 20, 2024
90358b9
fix: fix related bundles
ilia-kurganskii Dec 21, 2024
6745ef6
feat: add initial `instrumentation-websocket` as experimental
lucasbento Dec 21, 2024
b366bc4
Merge branch 'feat/add-react-native-support' of https://github.com/bi…
lucasbento Dec 21, 2024
b008d43
feat: init react navigation
marcocaldera Dec 21, 2024
d26abdf
feat: add WS message duration tracking
lucasbento Dec 23, 2024
1615683
fix: instrumentation navigation
marcocaldera Dec 23, 2024
744f3a1
Merge remote-tracking branch 'origin/feat/add-react-native-support' i…
marcocaldera Dec 23, 2024
4dfeaf2
feat: improve code and add span
marcocaldera Dec 24, 2024
02005ea
feat: improve code and add span
marcocaldera Dec 24, 2024
406c930
fix: undefined `ErrorEvent` in case of a WS error
lucasbento Dec 25, 2024
4ae14e2
feat: add react-saga and axios packages
ilia-kurganskii Dec 25, 2024
911a288
feat: add app startup instrumentation
lucasbento Dec 25, 2024
aadcff5
Merge branch 'feat/add-react-native-support' of https://github.com/bi…
lucasbento Dec 25, 2024
6b9b359
feat: add tracing for takeLatest
ilia-kurganskii Dec 26, 2024
bcfa527
refactor: add `messageTransform`
lucasbento Dec 26, 2024
c4097c8
Merge branch 'feat/add-react-native-support' of https://github.com/bi…
lucasbento Dec 26, 2024
3862f83
feat: add propagation context to call
ilia-kurganskii Dec 26, 2024
61e99f2
feat: update logs for instumentations
ilia-kurganskii Dec 30, 2024
5a98193
feat: add axios handler for span
ilia-kurganskii Dec 30, 2024
de38a9f
feat: add initial route change
marcocaldera Dec 31, 2024
3f27496
Merge remote-tracking branch 'origin/feat/add-react-native-support' i…
marcocaldera Dec 31, 2024
364acf1
feat: add `sendTransform` option to `instrumentation-websocket`
lucasbento Jan 2, 2025
d5f4bc6
fix: missing class methods
lucasbento Jan 2, 2025
448c807
Merge branch 'feat/add-react-native-support' of https://github.com/bi…
lucasbento Jan 2, 2025
fdab13c
fix: fix build issue
ilia-kurganskii Jan 2, 2025
ec6c4d2
fix: fix build issue
ilia-kurganskii Jan 2, 2025
cd0ac84
fix: fix build issue
ilia-kurganskii Jan 2, 2025
0f15391
fix: fix build issue
ilia-kurganskii Jan 2, 2025
ff9ec96
fix: fix build issue
ilia-kurganskii Jan 2, 2025
8f5b153
Revert "fix: fix build issue"
ilia-kurganskii Jan 3, 2025
56b8416
refactor: change from milliseconds to seconds
lucasbento Jan 4, 2025
0f6e372
refactor: change from milliseconds to seconds
lucasbento Jan 5, 2025
f5060fc
fix: use correct values for `browser` meta
lucasbento Jan 6, 2025
24d3895
refactor: remove unneeded param
lucasbento Jan 6, 2025
c66f2cf
fix: logger
marcocaldera Jan 7, 2025
23599dd
Merge branch 'feat/add-react-native-support' of github.com:bitvavo/fa…
marcocaldera Jan 7, 2025
8d9b5e8
refactor: switch `console.error` to `console.warn`
lucasbento Jan 7, 2025
d74230a
refactor: move import from `faro-web-sdk`
lucasbento Jan 7, 2025
fd9a135
fix: writable map
marcocaldera Jan 13, 2025
db2eead
refactor: add a better way to measure startup time
lucasbento Jan 30, 2025
761df19
refactor: remove logs
lucasbento Jan 30, 2025
8438b12
refactor: add missing `do-catch`
lucasbento Jan 30, 2025
3face70
Merge pull request #4 from bitvavo/refactor/better-statup-time-measure
lucasbento Jan 31, 2025
a72bdc0
refactor: add missing name variable for logs
lucasbento Jan 31, 2025
5e7262a
feat: add `whiteListedURLs` to web-socket instrumentation config
lucasbento Feb 6, 2025
2aa2688
refactor: initialize `whiteListedURLs` with empty array
lucasbento Feb 7, 2025
1a2882e
feat: add support for persistent sessions (#5)
ilia-kurganskii Feb 7, 2025
185d655
refactor: change startup duration to submit as seconds
lucasbento Feb 10, 2025
5615ba3
Merge branch 'feat/add-react-native-support' of https://github.com/bi…
lucasbento Feb 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: remove unneeded param
lucasbento committed Jan 6, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 24d38950bbc2cec9987dca4755bbd638f5ea1a9d
3 changes: 1 addition & 2 deletions packages/react-native-sdk/src/metas/browser/meta.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// eslint-disable-next-line import/namespace
import { Dimensions, Platform } from 'react-native';
import { getBrand, getModel, getReadableVersion, getSystemVersion } from 'react-native-device-info';
import { getBrand, getModel, getSystemVersion } from 'react-native-device-info';

import { Meta, MetaItem } from '@grafana/faro-core';

@@ -9,7 +9,6 @@ const { width, height } = Dimensions.get('window');
export const browserMeta: MetaItem<Pick<Meta, 'browser'>> = () => ({
browser: {
name: Platform.OS,
version: getReadableVersion(),
os: getSystemVersion(),
mobile: true,
userAgent: `${Platform.OS}/${getSystemVersion()} (${getBrand()} ${getModel()})`,