File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
android/src/main/java/com/instabug/reactlibrary Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1311,6 +1311,22 @@ public void setSuccessDialogEnabled(boolean enabled) {
1311
1311
}
1312
1312
}
1313
1313
1314
+ /**
1315
+ * Set after how many sessions should the dismissed survey would show again.
1316
+ *
1317
+ * @param sessionsCount number of sessions that the dismissed survey will be shown after.
1318
+ * @param daysCount number of days that the dismissed survey will show after
1319
+ *
1320
+ */
1321
+ @ ReactMethod
1322
+ public void setThresholdForReshowingSurveyAfterDismiss (int sessionsCount , int daysCount ) {
1323
+ try {
1324
+ Instabug .setThresholdForReshowingSurveyAfterDismiss (sessionsCount , daysCount );
1325
+ } catch (Exception e ) {
1326
+ e .printStackTrace ();
1327
+ }
1328
+ }
1329
+
1314
1330
/**
1315
1331
* Set whether new in app notification received will play a small sound notification
1316
1332
* or not (Default is {@code false})
You can’t perform that action at this time.
0 commit comments