From 560170ea107c62f337182997e5a03aa30401fdc7 Mon Sep 17 00:00:00 2001 From: Hossam Hassan Date: Mon, 30 Jan 2017 21:16:02 +0200 Subject: [PATCH] Use setInvocationEvent API instead of changeInvocationEvent --- .../instabug/reactlibrary/RNInstabugReactnativeModule.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java b/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java index a6b71e0..be5d992 100644 --- a/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java +++ b/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java @@ -371,13 +371,13 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule { } /** - * Changes the event used to invoke Instabug SDK + * Sets the event used to invoke Instabug SDK * * @param instabugInvocationEvent to be used to invoke SDK * @see InstabugInvocationEvent */ @ReactMethod - public void changeInvocationEvent(String invocationEventValue) { + public void setInvocationEvent(String invocationEventValue) { InstabugInvocationEvent invocationEvent = InstabugInvocationEvent.FLOATING_BUTTON; try { //setting invocation event