File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -913,6 +913,16 @@ module.exports = {
913913 Instabug . setThresholdForReshowingSurveyAfterDismiss ( sessionCount , daysCount ) ;
914914 } ,
915915
916+ /**
917+ * Sets whether auto surveys showing are enabled or not.
918+ * @param autoShowingSurveysEnabled A boolean to indicate whether the
919+ * surveys auto showing are enabled or not.
920+ *
921+ */
922+ setAutoShowingSurveysEnabled : function ( autoShowingSurveysEnabled ) {
923+ Instabug . setAutoShowingSurveysEnabled ( autoShowingSurveysEnabled ) ;
924+ } ,
925+
916926 /**
917927 * The event used to invoke the feedback form
918928 * @readonly
Original file line number Diff line number Diff line change @@ -365,6 +365,10 @@ - (dispatch_queue_t)methodQueue {
365365 [Instabug setViewHierarchyEnabled: viewHirearchyEnabled];
366366}
367367
368+ RCT_EXPORT_METHOD (setAutoShowingSurveysEnabled:(BOOL )autoShowingSurveysEnabled) {
369+ [Instabug setAutoShowingSurveysEnabled: autoShowingSurveysEnabled];
370+ }
371+
368372RCT_EXPORT_METHOD (setVideoRecordingFloatingButtonPosition:(IBGPosition)position) {
369373 [Instabug setVideoRecordingFloatingButtonPosition: position];
370374}
You can’t perform that action at this time.
0 commit comments