I am using RNsentry on android (version 0.12.12, I just upgraded to the latest 0.14.0), and I am wondering how “long” the data provided in
Sentry.setTagsContext() and such remains in the Sentry object.
Specifically, I import the Sentry object in my
index.android.js and call
Sentry.config() and the above functions with info from code-push (that works well, if I
captureMessage() at this point, the info gets through).
But later in the app (in another file), I import the same
Sentry again (from
react-native-sentry as well) and send a message to sentry, but the tags and context have now disappeared.
Why is this happening? and how do I make sure the info I pass to Sentry/raven “persists” (the above events are only a few seconds apart, no sending the app to sleep or background or anything).