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 RN SDK name and version to native SDKs integrations #4290

Open
krystofwoldrich opened this issue Nov 19, 2024 · 0 comments
Open

Add RN SDK name and version to native SDKs integrations #4290

krystofwoldrich opened this issue Nov 19, 2024 · 0 comments

Comments

@krystofwoldrich
Copy link
Member

Description

Sentry Events have sdk.packages properties. At the moment we add the native SDKs to the sdk.packages on RN side, but we don't do the opposite on Android and iOS.

To know what RN SDK version was used can be helpful information for debugging and it will also enable use to send RN SDK version with Replays which are completely processed on the native side.

Current RN code to add native packages

event.sdk.packages = [
// default packages are added by baseclient and should not be added here
...(event.sdk.packages || []),
...((nativeSdkPackage && [nativeSdkPackage]) || []),
];

Task add the RN package on native side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

1 participant