You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
我使用的是11.5.2-0.0.8版本,在js端监听鸿蒙原生上的事件,会提示new NativeEventEmitter() was called with a non-null argument without the required addListener method,我查看了您的源码,在BleTurboModule.ts中发送事件到js上,鸿蒙原生和js上都没有添加addListener和removeListeners方法
描述 / Description
我使用的是11.5.2-0.0.8版本,在js端监听鸿蒙原生上的事件,会提示new NativeEventEmitter() was called with a non-null argument without the required addListener method,我查看了您的源码,在BleTurboModule.ts中发送事件到js上,鸿蒙原生和js上都没有添加addListener和removeListeners方法
复现步骤 / Steps to reproduce
1、集成改库到react native项目中
2、监听蓝牙的3个事件方法
3、查看调试服务器上的提示
库版本 / Library version
11.5.2-0.0.8
React Native OpenHarmony version
0.72.38-3
构建类型 / Build type
None
设备 / Device
None
设备版本 / Device model
No response
已悉知 / Acknowledgements
Yes