Raygun Feature Request

Feature Request

Provide an option to application users for sending crash details to rayGun or not

Current Status:

Will not add

Votes:

2


Avatar

VincyVincentV

Hi,

Every time once the application got crashed the corresponding notification is sending to the crash report page without any notification.So is that possible to provide an option(in the form of alert) to application users to choose whether need to send the crash details to rayGun or not


Avatar

Raygun

John-Daniel Trask

Posted on
Mar 09 2016

Hi,

The best way to do this is within your own application code. Every application is different, so having an option can be complicated for when we would try to load the user setting.

As some guidance, here's how I'd handle it:

  1. Most providers have an OnBeforeSend method, in that, you could check if the user has enabled crash reporting and stop the send if not allowed (this would allow you to lazily check that config value also).
  2. Set the API key only once you know the user has enabled crash reporting. Without an API key, Raygun will still intercept but not do anything. It won't complain about that.

As Raygun supports 20+ platforms and languages, a 'one size fits all' application support model for this feature is not easily added in the framework itself.

If you'd like to discuss the specifics for your type of app, one of our team would be happy to help: hello@raygun.io

John-Daniel Trask