bugsnag / bugsnag-expo

MIT License
10 stars 5 forks source link

App crashes after eas update, works locally #142

Closed maciekstosio closed 11 months ago

maciekstosio commented 12 months ago

Describe the bug

Hi, I'm added bugsnag to my project and I get the data from local testing, but when I "publish" my app through eas update it crashes when the code reaches Bugsnag.start() (I know it's this line cause I removed it and moved around to test it). The biggest problem is that I don't know how to get any useful logs when it crashes, I tried to wrap in try catch but it didn't help. If you have an idea how to get the logs, I could try to resolve the issue myself.

Steps to reproduce

  1. expo init
  2. create blank app
  3. npx bugsnag-expo-cli init (and follow basic init guide)
  4. expo update --platform=ios
  5. open expo go and run update
  6. see crash

Environment

Example Repo

clr182 commented 12 months ago

Hi @maciekstosio, Thank you for opening this PR. We will review this when priorities allow.

yousif-bugsnag commented 11 months ago

A fix for this has now been released in v49.0.1

Thanks again for the contribution @maciekstosio!