Skip to content

Commit e388468

Browse files
authored
🤝 Merge pull request #17 from Instabug/fix/8.0.5
🐛 fix InvocationModeNA was not mapped for android
2 parents e6fe738 + a9cdeca commit e388468

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
8383
private final String INVOCATION_EVENT_TWO_FINGERS_SWIPE = "swipe";
8484
private final String INVOCATION_EVENT_FLOATING_BUTTON = "button";
8585
//InvocationModes
86+
private final String INVOCATION_MODE_NA = "na";
8687
private final String INVOCATION_MODE_NEW_BUG = "bug";
8788
private final String INVOCATION_MODE_NEW_FEEDBACK = "feedback";
8889
private final String INVOCATION_MODE_NEW_CHAT = "chat";
@@ -2116,6 +2117,7 @@ public Map<String, Object> getConstants() {
21162117
constants.put("colorThemeLight", COLOR_THEME_LIGHT);
21172118
constants.put("colorThemeDark", COLOR_THEME_DARK);
21182119

2120+
constants.put("invocationModeNA", INVOCATION_MODE_NA);
21192121
constants.put("invocationModeNewBug", INVOCATION_MODE_NEW_BUG);
21202122
constants.put("invocationModeNewFeedback", INVOCATION_MODE_NEW_FEEDBACK);
21212123
constants.put("invocationModeNewChat", INVOCATION_MODE_NEW_CHAT);

0 commit comments

Comments
 (0)