Use setInvocationEvent API instead of changeInvocationEvent
This commit is contained in:
parent
69bce7d93e
commit
560170ea10
|
@ -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
|
* @param instabugInvocationEvent to be used to invoke SDK
|
||||||
* @see InstabugInvocationEvent
|
* @see InstabugInvocationEvent
|
||||||
*/
|
*/
|
||||||
@ReactMethod
|
@ReactMethod
|
||||||
public void changeInvocationEvent(String invocationEventValue) {
|
public void setInvocationEvent(String invocationEventValue) {
|
||||||
InstabugInvocationEvent invocationEvent = InstabugInvocationEvent.FLOATING_BUTTON;
|
InstabugInvocationEvent invocationEvent = InstabugInvocationEvent.FLOATING_BUTTON;
|
||||||
try {
|
try {
|
||||||
//setting invocation event
|
//setting invocation event
|
||||||
|
|
Loading…
Reference in New Issue