Skip to content

feat: add React Native support #1035

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

Open
wants to merge 52 commits into
base: react-native-contribution-feature-branch
Choose a base branch
from

Conversation

ilia-kurganskii
Copy link

Why

What

Links

Checklist

  • Tests added
  • Changelog updated
  • Documentation updated
ilia-kurganskii and others added 30 commits December 20, 2024 11:23
…tvavo/faro-web-sdk into feat/add-react-native-support

# Conflicts:
#	packages/react-native-tracing/package.json
@CLAassistant
Copy link

CLAassistant commented Mar 14, 2025

CLA assistant check
All committers have signed the CLA.

@@ -145,6 +145,7 @@ export function initializeTransports(
batchExecutor = new BatchExecutor(batchedSend, {
sendTimeout: config.batching.sendTimeout,
itemLimit: config.batching.itemLimit,
ignoreBrowserApi: config.batching.ignoreBrowserApi,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's remove this option and provide an option to detect the runtime environment so Faro core can automatically toggle between web APIs and mobile APIs and so on.

@@ -58,4 +58,6 @@ export interface BatchExecutorOptions {
// Buffer "sendLimit" is the number of signals before sending the payload
readonly itemLimit?: number;
readonly paused?: boolean;

readonly ignoreBrowserApi?: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

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

this.flush();
}
});
if (!options?.ignoreBrowserApi) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

@@ -0,0 +1,52 @@
# @grafana/instrumentation-fetch
Copy link
Collaborator

Choose a reason for hiding this comment

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

Note: Update readme

@codecapitano
Copy link
Collaborator

Project structure: move react-native package to experimental as well

@codecapitano
Copy link
Collaborator

@ilia-kurganskii Hey Ilja and team this is absolutely amazing work!
Thank you so much for the amazing contribution.

I only skimmed over the PR but will do an in-depth review over the next days.
Afaik due to your time constraints we are taking over doing necessary changes right?

See yall and have a great week
The Faro folks :)

@codecapitano
Copy link
Collaborator

Hi @ilia-kurganskii lucasbento and marcocaldera need to sign the CLA as well for us to move forward. 🚀

@codecapitano codecapitano requested review from kpelelis and eskirk April 16, 2025 08:51
@codecapitano codecapitano changed the base branch from main to react-native-contribution-feature-branch June 6, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants