Skip to content

Commit

Permalink
💎Bump Version to v8.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
alyezz committed Mar 24, 2019
1 parent b185985 commit 899f869
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,25 @@ public void run() {
});
}

/**
* Sets whether attachments in bug reporting and in-app messaging are enabled or not.
*
* @param screenshot A boolean to enable or disable screenshot attachments.
* @param {boolean} extraScreenShot A boolean to enable or disable extra screenshot attachments.
* @param {boolean} galleryImage A boolean to enable or disable gallery image attachments.
* @param {boolean} screenRecording A boolean to enable or disable screen recording attachments.
*/
@ReactMethod
public void setEnabledAttachmentTypes(boolean screenshot, boolean extraScreenshot, boolean
galleryImage, boolean screenRecording) {
try {
BugReporting.setAttachmentTypesEnabled(screenshot, extraScreenshot, galleryImage,
screenRecording);
} catch (Exception e) {
e.printStackTrace();
}
}

/**
* Gets tags.
*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "instabug-reactnative",
"version": "8.1.5",
"version": "8.1.6",
"description": "React Native plugin for integrating the Instabug SDK",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 899f869

Please sign in to comment.