instabug-reactnative
Advanced tools
20
index.js
@@ -712,2 +712,22 @@ import {NativeModules, NativeAppEventEmitter, Platform} from "react-native"; | ||
/** | ||
* Enables all Instabug functionality | ||
* It works on android only | ||
*/ | ||
enable: function () { | ||
if (Platform.OS === 'android') { | ||
Instabug.enable(); | ||
} | ||
}, | ||
/** | ||
* Disables all Instabug functionality | ||
* It works on android only | ||
*/ | ||
disable: function () { | ||
if (Platform.OS === 'android') { | ||
Instabug.disable(); | ||
} | ||
}, | ||
/** | ||
* The event used to invoke the feedback form | ||
@@ -714,0 +734,0 @@ * @readonly |
{ | ||
"name": "instabug-reactnative", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "React Native plugin for integrating the Instabug SDK", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
162159
0.26%2219
0.82%