@@ -98,7 +98,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
98
98
private final String INVOCATION_EVENT_NONE = "invocationEventNone" ;
99
99
private final String INVOCATION_EVENT_SHAKE = "invocationEventShake" ;
100
100
private final String INVOCATION_EVENT_SCREENSHOT = "invocationEventScreenshot" ;
101
- private final String INVOCATION_EVENT_TWO_FINGERS_SWIPE = "invocationEventTwoFingersSwipe " ;
101
+ private final String INVOCATION_EVENT_TWO_FINGERS_SWIPE_LEFT = "invocationEventTwoFingersSwipeLeft " ;
102
102
private final String INVOCATION_EVENT_FLOATING_BUTTON = "invocationEventFloatingButton" ;
103
103
//InvocationModes
104
104
private final String INVOCATION_MODE_NA = "na" ;
@@ -776,7 +776,7 @@ public void setInvocationEvents(ReadableArray invocationEventValues) {
776
776
case INVOCATION_EVENT_FLOATING_BUTTON :
777
777
parsedInvocationEvents .add (InstabugInvocationEvent .FLOATING_BUTTON );
778
778
break ;
779
- case INVOCATION_EVENT_TWO_FINGERS_SWIPE :
779
+ case INVOCATION_EVENT_TWO_FINGERS_SWIPE_LEFT :
780
780
parsedInvocationEvents .add (InstabugInvocationEvent .TWO_FINGER_SWIPE_LEFT );
781
781
break ;
782
782
case INVOCATION_EVENT_SHAKE :
@@ -813,7 +813,7 @@ private InstabugInvocationEvent getInvocationEventById(String invocationEventVal
813
813
try {
814
814
if (invocationEventValue .equals (INVOCATION_EVENT_FLOATING_BUTTON )) {
815
815
invocationEvent = InstabugInvocationEvent .FLOATING_BUTTON ;
816
- } else if (invocationEventValue .equals (INVOCATION_EVENT_TWO_FINGERS_SWIPE )) {
816
+ } else if (invocationEventValue .equals (INVOCATION_EVENT_TWO_FINGERS_SWIPE_LEFT )) {
817
817
invocationEvent = InstabugInvocationEvent .TWO_FINGER_SWIPE_LEFT ;
818
818
} else if (invocationEventValue .equals (INVOCATION_EVENT_SHAKE )) {
819
819
invocationEvent = InstabugInvocationEvent .SHAKE ;
@@ -2421,7 +2421,7 @@ public Map<String, Object> getConstants() {
2421
2421
constants .put ("invocationEventNone" , INVOCATION_EVENT_NONE );
2422
2422
constants .put ("invocationEventShake" , INVOCATION_EVENT_SHAKE );
2423
2423
constants .put ("invocationEventScreenshot" , INVOCATION_EVENT_SCREENSHOT );
2424
- constants .put ("invocationEventTwoFingersSwipe " , INVOCATION_EVENT_TWO_FINGERS_SWIPE );
2424
+ constants .put ("invocationEventTwoFingersSwipeLeft " , INVOCATION_EVENT_TWO_FINGERS_SWIPE_LEFT );
2425
2425
constants .put ("invocationEventFloatingButton" , INVOCATION_EVENT_FLOATING_BUTTON );
2426
2426
2427
2427
constants .put ("colorThemeLight" , COLOR_THEME_LIGHT );
0 commit comments