Sets whether attachments in bug reporting and in-app messaging are enabled or not.
screenshot A boolean to enable or disable screenshot attachments.
extraScreenshot A boolean to enable or disable extra screenshot attachments.
galleryImage A boolean to enable or disable gallery image
attachments. In iOS 10+,NSPhotoLibraryUsageDescription should be set in
info.plist to enable gallery image attachments.
screenRecording A boolean to enable or disable screen recording attachments.
Sets whether the extended bug report mode should be disabled, enabled with
required fields or enabled with optional fields.
extendedBugReportMode ExtendedBugReportMode enum
Sets the events that invoke the feedback form.
Default is set by Instabug.startWithToken.
invocationEvents invocationEvent List of events that invokes the
Sets a block of code to be executed just before the SDK's UI is presented.
This block is executed on the UI thread. Could be used for performing any
UI changes before the SDK's UI is shown.
function A callback that gets executed before invoking the SDK
Sets a block of code to be executed just before the SDK's UI is presented.
This block is executed on the UI thread. Could be used for performing any
UI changes before the SDK's UI is shown.
function A callback that gets executed before invoking the SDK
Sets the threshold value of the shake gesture for android devices.
Default for android is an integer value equals 350.
you could increase the shaking difficulty level by
increasing the 350 value and vice versa
androidThreshold iPhoneShakingThreshold int