create a base "library" which could be used by other frameworks like Nativescript #3850
farfromrefug
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hi, First of all, thank you for maintaining https://github.com/nativescript-community/sentry, that's awesome. I agree we should duplicate code across JS based SDKs, for that purpose Could you share some specific example of the native script and RN SDK use the same but each has their own copy of the code? Maybe some of these functions/block could be moved to the main https://github.com/getsentry/sentry-javascript repository. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am the maintainer of https://github.com/nativescript-community/sentry which is a sentry plugin for Nativescript.
That plugins shared almost 100% of the same typescript code as the react native one. Only the wrappers and some platform specific things (like the route navigation tracing) are different.
I have been maintaining it for years now and it is quite some work as i have to follow every commit and transpose everything.
I think it would be fairly easy to have a base library (typescript one) which could be used by the react native and the nativescript plugin. It could also lead the way for other platforms.
I am obviously ok working on this but i cant do that without the sentry team. All the design / architecture would have to come from the sentry team.
What do you think about the idea?
Beta Was this translation helpful? Give feedback.
All reactions