instabug-reactnative
Advanced tools
Comparing version
21
index.js
@@ -784,2 +784,23 @@ import {NativeModules, NativeAppEventEmitter, DeviceEventEmitter, Platform} from "react-native"; | ||
/** | ||
* @param enabled true to show success dialog after submitting a bug report | ||
* | ||
*/ | ||
setSuccessDialogEnabled: function(enabled) { | ||
Instabug.setSuccessDialogEnabled(enabled); | ||
}, | ||
/** | ||
* Set whether new in app notification received will play a small sound notification | ||
* or not (Default is {@code false}) | ||
* | ||
* @param shouldPlaySound desired state of conversation sounds | ||
* @since 4.1.0 | ||
*/ | ||
setEnableInAppNotificationSound: function(shouldPlaySound) { | ||
if(Platform.OS === 'android') { | ||
Instabug.setEnableInAppNotificationSound(shouldPlaySound); | ||
} | ||
}, | ||
/** | ||
* The event used to invoke the feedback form | ||
@@ -786,0 +807,0 @@ * @readonly |
{ | ||
"name": "instabug-reactnative", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "React Native plugin for integrating the Instabug SDK", | ||
"scripts": { | ||
"postinstall": "cd ../../ios && pod install" | ||
}, | ||
"main": "index.js", | ||
@@ -6,0 +9,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
274847
1.43%2441
1.92%1
Infinity%