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 = {
708708 Instabug . setPromptOptionsEnabled ( chat , bug , feedback ) ;
709709 } ,
710710
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+
711731 /**
712732 * The event used to invoke the feedback form
713733 * @readonly
Original file line number Diff line number Diff line change 11{
22 "name" : " instabug-reactnative" ,
3- "version" : " 1.1.0 " ,
3+ "version" : " 1.1.1 " ,
44 "description" : " React Native plugin for integrating the Instabug SDK" ,
55 "main" : " index.js" ,
66 "repository" : {
You can’t perform that action at this time.
0 commit comments