Skip to content

Commit 560170e

Browse files
Use setInvocationEvent API instead of changeInvocationEvent
1 parent 69bce7d commit 560170e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,13 +371,13 @@ public int getUnreadMessagesCount() {
371371
}
372372

373373
/**
374-
* Changes the event used to invoke Instabug SDK
374+
* Sets the event used to invoke Instabug SDK
375375
*
376376
* @param instabugInvocationEvent to be used to invoke SDK
377377
* @see InstabugInvocationEvent
378378
*/
379379
@ReactMethod
380-
public void changeInvocationEvent(String invocationEventValue) {
380+
public void setInvocationEvent(String invocationEventValue) {
381381
InstabugInvocationEvent invocationEvent = InstabugInvocationEvent.FLOATING_BUTTON;
382382
try {
383383
//setting invocation event

0 commit comments

Comments
 (0)