mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-02 14:10:40 +00:00
commit
e2fcdcccac
20
index.js
20
index.js
@ -708,6 +708,26 @@ module.exports = {
|
||||
Instabug.setPromptOptionsEnabled(chat, bug, feedback);
|
||||
},
|
||||
|
||||
/**
|
||||
* 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
|
||||
* @readonly
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "instabug-reactnative",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "React Native plugin for integrating the Instabug SDK",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user