Merge pull request #17 from Instabug/feature/add-setInvocationEvent-API-to-AndroidBridge

Use setInvocationEvent API instead of changeInvocationEvent
This commit is contained in:
Hossam Hassan 2017-01-30 21:36:31 +02:00 committed by GitHub
commit 6dbf97735e
1 changed files with 2 additions and 2 deletions

View File

@ -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