我正在用react native开发一个应用程序,我实现了一个将java事件发送到js的模块,这样它就可以在react native中被监听了。该模块本身如下所示:
// Called to emit events to event listeners in JSgetJSModule(DeviceEventManagerModule.RCTDeviceEve
at js.tinyvm.CodeUtilities.processMethod(CodeUtilities.java:388)at js.tinyvm.MethodRecord.postProcessCode(MethodRecord.java:205)
at js.tinyvm.MethodRecord.postProcessCode(Me