Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(buttonIndex) => {
if (buttonIndex == 0) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newBug);
} else if (buttonIndex == 1) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newFeedback);
} else if (buttonIndex == 2) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newChat);
} else if (buttonIndex == 3) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.NA);
}
});
}
(buttonIndex) => {
if (buttonIndex == 0) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newBug);
} else if (buttonIndex == 1) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newFeedback);
} else if (buttonIndex == 2) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newChat);
} else if (buttonIndex == 3) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.NA);
}
});
}
(buttonIndex) => {
if (buttonIndex == 0) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newBug);
} else if (buttonIndex == 1) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newFeedback);
} else if (buttonIndex == 2) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newChat);
} else if (buttonIndex == 3) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.NA);
}
});
}
(buttonIndex) => {
if (buttonIndex == 0) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newBug);
} else if (buttonIndex == 1) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newFeedback);
} else if (buttonIndex == 2) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.newChat);
} else if (buttonIndex == 3) {
Instabug.invokeWithInvocationMode(Instabug.invocationMode.NA);
}
});
}