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 = {
913
913
Instabug . setThresholdForReshowingSurveyAfterDismiss ( sessionCount , daysCount ) ;
914
914
} ,
915
915
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
+
916
926
/**
917
927
* The event used to invoke the feedback form
918
928
* @readonly
Original file line number Diff line number Diff line change @@ -365,6 +365,10 @@ - (dispatch_queue_t)methodQueue {
365
365
[Instabug setViewHierarchyEnabled: viewHirearchyEnabled];
366
366
}
367
367
368
+ RCT_EXPORT_METHOD (setAutoShowingSurveysEnabled:(BOOL )autoShowingSurveysEnabled) {
369
+ [Instabug setAutoShowingSurveysEnabled: autoShowingSurveysEnabled];
370
+ }
371
+
368
372
RCT_EXPORT_METHOD (setVideoRecordingFloatingButtonPosition:(IBGPosition)position) {
369
373
[Instabug setVideoRecordingFloatingButtonPosition: position];
370
374
}
You can’t perform that action at this time.
0 commit comments