mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-01 13:40:42 +00:00
✨ Add setAutoShowingSurveysEnabled API for iOS
This commit is contained in:
parent
f681a840eb
commit
05ffea7d13
10
index.js
10
index.js
@ -913,6 +913,16 @@ module.exports = {
|
||||
Instabug.setThresholdForReshowingSurveyAfterDismiss(sessionCount, daysCount);
|
||||
},
|
||||
|
||||
/**
|
||||
* Sets whether auto surveys showing are enabled or not.
|
||||
* @param autoShowingSurveysEnabled A boolean to indicate whether the
|
||||
* surveys auto showing are enabled or not.
|
||||
*
|
||||
*/
|
||||
setAutoShowingSurveysEnabled: function(autoShowingSurveysEnabled) {
|
||||
Instabug.setAutoShowingSurveysEnabled(autoShowingSurveysEnabled);
|
||||
},
|
||||
|
||||
/**
|
||||
* The event used to invoke the feedback form
|
||||
* @readonly
|
||||
|
@ -365,6 +365,10 @@ RCT_EXPORT_METHOD(setViewHirearchyEnabled:(BOOL)viewHirearchyEnabled) {
|
||||
[Instabug setViewHierarchyEnabled:viewHirearchyEnabled];
|
||||
}
|
||||
|
||||
RCT_EXPORT_METHOD(setAutoShowingSurveysEnabled:(BOOL)autoShowingSurveysEnabled) {
|
||||
[Instabug setAutoShowingSurveysEnabled:autoShowingSurveysEnabled];
|
||||
}
|
||||
|
||||
RCT_EXPORT_METHOD(setVideoRecordingFloatingButtonPosition:(IBGPosition)position) {
|
||||
[Instabug setVideoRecordingFloatingButtonPosition:position];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user