File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -708,6 +708,26 @@ module.exports = {
708
708
Instabug . setPromptOptionsEnabled ( chat , bug , feedback ) ;
709
709
} ,
710
710
711
+ /**
712
+ * Enables all Instabug functionality
713
+ * It works on android only
714
+ */
715
+ enable : function ( ) {
716
+ if ( Platform . OS === 'android' ) {
717
+ Instabug . enable ( ) ;
718
+ }
719
+ } ,
720
+
721
+ /**
722
+ * Disables all Instabug functionality
723
+ * It works on android only
724
+ */
725
+ disable : function ( ) {
726
+ if ( Platform . OS === 'android' ) {
727
+ Instabug . disable ( ) ;
728
+ }
729
+ } ,
730
+
711
731
/**
712
732
* The event used to invoke the feedback form
713
733
* @readonly
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " instabug-reactnative" ,
3
- "version" : " 1.1.0 " ,
3
+ "version" : " 1.1.1 " ,
4
4
"description" : " React Native plugin for integrating the Instabug SDK" ,
5
5
"main" : " index.js" ,
6
6
"repository" : {
You can’t perform that action at this time.
0 commit comments