Open southerneer opened 6 years ago
@southerneer Thanks for using App Center. This feature is on our roadmap but unfortunately, there is no ETA yet. We will keep this issue open for now and let you know once we decide to support it in App Center.
Where is this on your roadmap?
This is extremely necessary considering how long error boundaries have been available. I wrap most of my core components with them so I'll be missing out on many of the most important exceptions.
If this isn't coming soon, I can try to make a PR but I'd really prefer that I didn't have to.
Thanks for your feedback here. Unfortunately, this is not on our top priority list for Diagnostics at the moment, and still don't have an ETA for it.
It's fine. I removed all the Appcenter modules since I can't even get postinstall to work on Windows and it doesn't compile on OSX.
We used to log non-fatal issues with Crashlytics. I thought App Center was replacing it? There is no way to log these errors at the moment or am I missing something?
Hello @kamiranoff, App Center support handled errors for Xamarin and Unity, but not for React Native yet. We will transfer this issue to our App Center GitHub repo and you can upvote it there for better visibility. Thank you
If I understand this correctly, appcenter-crashes
is not suitable for RN apps that implement graceful degradation? So if we want errors to be logged, we must not handle them but rather let the app explode? :smile:
Hey @blparr and @elamalani, any update on this issue? Like others mentioned, this is a critically important feature. I don't want to let my app crash if a user encountered an error while handling an IAP, but at the same time I'd really like to know about that error.
I know it's not a great solution, but I have been using appcenter-analytics
and then calling trackEvent('Error', { error: error.toString() })
in the componentDidCatch
method of my error boundary. This will then log that event in the analytics tab of app centre with in the error message from componentDidCatch
as a param. It may not be as useful for users that are already heavily using this for actual events, but as I'm only tracking these 'Error' events, I'm making do.
Any update on this?
Any update on this ? ( or any alternative way to upload errors with react native )
Not sure, but maybe that's the solution: https://github.com/microsoft/appcenter-sdk-react-native/pull/927
Description (feature request)
Allow generating crash reports for handled errors similar to the capability built into bugsnag-react-native. Our app makes heavy use of this in a top-level component with React 16's (relatively) new error boundary concept. Any chance this capability has made its way to the roadmap yet?