Open calca opened 6 years ago
@calca Thanks for using App Center. Currently, we expose handled error functionality only for Xamarin apps. It's on our roadmap to support it for other platforms but there is no ETA yet. We will keep this thread open for visibility and keep you posted once we plan to support it for Cordova.
@elamalani the API is not available on Android / iOS Native library ?
This would be very good to have. Currently I'm abusing analytics, but that is rather limited, as the events are truncated and especially stacktraces go missing.
@calca No, the API is not available for native iOS and Android. It's only available in Xamarin SDK right now.
Hi, we want to switch from IonicPro to AppCenter, so we need the Errorlogging plz :)
@elamalani What is the workaround for this? Currently my application has ApplicationInsights-js and is using its trackException for exceptions. I've tried to remove that dependency and go to App Center SDK then export data to AI.
Is this the only way to track handled exceptions?
@conniey You could use TrackEvent() API to track handled exceptions for now.
Thanks! When I export them to Application Insights, will I be able to easily correlate my client-side between any server-side issues? (I have an ASP.NET Core backend that writes telemetry to the same AI instance.)
hi @elamalani, do you have any updates on this feature request, as @enko confirmed, tracking errors with events is possible but we still lose stack trace information:
https://github.com/microsoft/appcenter-sdk-cordova/issues/46#issuecomment-403814895
Description
Expose TrackError function in Crashes Cordova Plugins