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

Sentry Crash #332

Open
paribaker opened this issue Aug 6, 2024 · 1 comment
Open

Sentry Crash #332

paribaker opened this issue Aug 6, 2024 · 1 comment
Labels
bug Something isn't working High Priority An issue or Pull Request that should take priority over all others. Use sparingly.

Comments

@paribaker
Copy link
Contributor

paribaker commented Aug 6, 2024

It seems we do not always get the sentry crash reports for example every once in a while we have an issue where the app crashes on load, I believe this may be because we need to move it higher in the tree?
Right now Sentry depends on the Config entry file we have which means any issues that occur in that file may not be reported.

@whusterj
Copy link
Member

whusterj commented Nov 12, 2024

I just experienced this on a project. I think it's because SENTRY_PROJECT_NAME and SENTRY_DSN are not part of the expo-main.yml GH action template. So when that action runs eas update, it pushes a new OTA update with a JS bundle that is missing those values. And so Sentry crashes the app on startup.

I verified this by sourcing all env variables on my local and then running the same eas update command found in expo-main.yml.

Aside, I would love to remove the mobile bootstrapper's hard dependency on Sentry and Rollbar. I think there's too much friction in bootstrapping a new mobile app.

@whusterj whusterj added bug Something isn't working High Priority An issue or Pull Request that should take priority over all others. Use sparingly. labels Nov 12, 2024
@whusterj whusterj mentioned this issue Nov 12, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working High Priority An issue or Pull Request that should take priority over all others. Use sparingly.
Projects
None yet
Development

No branches or pull requests

2 participants