Skip to content

Commit 6dbf977

Browse files
Merge pull request #17 from Instabug/feature/add-setInvocationEvent-API-to-AndroidBridge
Use setInvocationEvent API instead of changeInvocationEvent
2 parents 69bce7d + 560170e commit 6dbf977

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)