mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-02 14:10:40 +00:00
🐛 Fix a bug where the sendEvent method was not added
This commit is contained in:
parent
b47e21fb54
commit
5e4195b745
@ -1012,7 +1012,13 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
private void sendEvent(ReactContext reactContext,
|
||||
String eventName,
|
||||
@Nullable WritableMap params) {
|
||||
reactContext
|
||||
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
|
||||
.emit(eventName, params);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the runnable that gets executed just before showing any valid survey<br/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user