microsoft / appcenter-sdk-cordova

App Center Preview SDK for Cordova
http://appcenter.ms
MIT License
50 stars 27 forks source link

Feature : expose TrackError #46

Open calca opened 6 years ago

calca commented 6 years ago

Description

Expose TrackError function in Crashes Cordova Plugins

elamalani commented 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.

calca commented 6 years ago

@elamalani the API is not available on Android / iOS Native library ?

enko commented 6 years ago

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.

elamalani commented 6 years ago

@calca No, the API is not available for native iOS and Android. It's only available in Xamarin SDK right now.

hoshauch commented 6 years ago

Hi, we want to switch from IonicPro to AppCenter, so we need the Errorlogging plz :)

conniey commented 5 years ago

@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?

elamalani commented 5 years ago

@conniey You could use TrackEvent() API to track handled exceptions for now.

conniey commented 5 years ago

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.)

alexeystrakh commented 4 years ago

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