attachScreenshot

Enables/Disables capturing screenshots before an error. Available on iOS and Android.