Skip to content

Commit ab2716a

Browse files
committed
🔥 Removing duplicated method
1 parent c40f46b commit ab2716a

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -559,44 +559,6 @@ public void setEnabledAttachmentTypes(boolean screenshot, boolean extraScreensho
559559
e.printStackTrace();
560560
}
561561
}
562-
563-
/**
564-
* Sets whether attachments in bug reporting and in-app messaging are enabled or not.
565-
*
566-
* @param screenshot A boolean to enable or disable screenshot attachments.
567-
* @param {boolean} extraScreenShot A boolean to enable or disable extra screenshot attachments.
568-
* @param {boolean} galleryImage A boolean to enable or disable gallery image attachments.
569-
* @param {boolean} screenRecording A boolean to enable or disable screen recording attachments.
570-
*/
571-
@ReactMethod
572-
public void setEnabledAttachmentTypes(boolean screenshot, boolean extraScreenshot, boolean
573-
galleryImage, boolean screenRecording) {
574-
try {
575-
BugReporting.setAttachmentTypesEnabled(screenshot, extraScreenshot, galleryImage,
576-
screenRecording);
577-
} catch (Exception e) {
578-
e.printStackTrace();
579-
}
580-
}
581-
582-
/**
583-
* Sets whether attachments in bug reporting and in-app messaging are enabled or not.
584-
*
585-
* @param screenshot A boolean to enable or disable screenshot attachments.
586-
* @param {boolean} extraScreenShot A boolean to enable or disable extra screenshot attachments.
587-
* @param {boolean} galleryImage A boolean to enable or disable gallery image attachments.
588-
* @param {boolean} screenRecording A boolean to enable or disable screen recording attachments.
589-
*/
590-
@ReactMethod
591-
public void setEnabledAttachmentTypes(boolean screenshot, boolean extraScreenshot, boolean
592-
galleryImage, boolean screenRecording) {
593-
try {
594-
BugReporting.setAttachmentTypesEnabled(screenshot, extraScreenshot, galleryImage,
595-
screenRecording);
596-
} catch (Exception e) {
597-
e.printStackTrace();
598-
}
599-
}
600562

601563
/**
602564
* Gets tags.

0 commit comments

Comments
 (0)