We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc98ddd commit b18f3cbCopy full SHA for b18f3cb
android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java
@@ -104,11 +104,11 @@ public void changeLocale(String languageTag) {
104
105
@ReactMethod
106
public void report(String value) {
107
- InstabugInvocationMode mode = InstabugInvocationMode.InstabugInvocationModeNA;
+ InstabugInvocationMode mode = InstabugInvocationMode.PROMPT_OPTION;
108
if (value.equals("bug")) {
109
- mode = InstabugInvocationMode.InstabugInvocationModeBugReporter;
+ mode = InstabugInvocationMode.NEW_BUG;
110
} else if (value.equals("feedback")) {
111
- mode = InstabugInvocationMode.InstabugInvocationModeFeedbackSender;
+ mode = InstabugInvocationMode.NEW_FEEDBACK;
112
}
113
114
mInstabug.invoke(mode);
0 commit comments