You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the Android native bridge has no support for setRelease and setDist which set __sentry_release and __sentry_dist as an extra, we remove these methods in favor of passing release and dist to init.
We also have the SENTRY_RELEASE environment variable that is set at buildtime set the release on init instead.
Closes#196
#213)
In previous versions, we hadsetRelease and setDist which set __sentry_release and __sentry_dist as an extra, we remove these methods in favor of passing release and dist to init. This removes the existing code on the iOS native bridge that handles this, and we did not add support for this on the Android bridge.
We also have the SENTRY_RELEASE environment variable that is built by the script at build time and matches the sourcemaps set the release on init instead of setting it in a JS event processor. This way we have the auto release set on native events as well.
Closes#196
setRelease
andsetDist
are deprecated on RN, we should do the same here on Cordova.sentry-cordova/src/js/sdk.ts
Lines 20 to 36 in 5b634be
The text was updated successfully, but these errors were encountered: