Skip to content

Commit b18f3cb

Browse files
Fix Instabug Invocation Mode
1 parent dc98ddd commit b18f3cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ public void changeLocale(String languageTag) {
104104

105105
@ReactMethod
106106
public void report(String value) {
107-
InstabugInvocationMode mode = InstabugInvocationMode.InstabugInvocationModeNA;
107+
InstabugInvocationMode mode = InstabugInvocationMode.PROMPT_OPTION;
108108
if (value.equals("bug")) {
109-
mode = InstabugInvocationMode.InstabugInvocationModeBugReporter;
109+
mode = InstabugInvocationMode.NEW_BUG;
110110
} else if (value.equals("feedback")) {
111-
mode = InstabugInvocationMode.InstabugInvocationModeFeedbackSender;
111+
mode = InstabugInvocationMode.NEW_FEEDBACK;
112112
}
113113

114114
mInstabug.invoke(mode);

0 commit comments

Comments
 (0)