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

[IOS] : Not capture event when build release mode #535

Closed
minhduc1911983 opened this issue Jan 25, 2019 · 5 comments
Closed

[IOS] : Not capture event when build release mode #535

minhduc1911983 opened this issue Jan 25, 2019 · 5 comments

Comments

@minhduc1911983
Copy link

Hi everybody

I working with Sentry for trace javascript exception in React Native app. Everything work very well when i runing debug mode but when i run in release mode then no events capture in Sentry dashboard. Pls help me this problem

Thanks all
Regards

@sregg
Copy link

sregg commented Apr 24, 2019

I'm seeing the exact same issue. @minhduc1911983 did you find a fix?

@richardzyx
Copy link

richardzyx commented May 22, 2019

Seeing this same issue on iOS with React Native v55.4. captureMessage still works fine but captureException in error boundary just doesn't send any issue or event when in release build. Everything works fine in debug.

@HazAT
Copy link
Member

HazAT commented May 24, 2019

Hey, so in release mode, we do not immediately send the events, instead we store it and either send it on the next app start or next captureMessage.
This is just a safety measure to make sure we don't lose events.

We will fix this "bug" in the next major bump that we are currently working on.

@marcelschulze
Copy link

I did implement it last week and during my testing in debug mode, everything worked fine. Now I saw the first crash on the real production app and I didn't receive any error :/. We already did restart the App multiple times afterwards. Maybe I will try to upgrade to 0.60 react and the new version now.

@HazAT
Copy link
Member

HazAT commented Sep 4, 2019

I am closing all old issues, please if this is still a problem feel free to revive it.
Also, consider moving to our new SDK @sentry/react-native if it still happens there please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants