Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setOnUniMPEventCallBack回调无效的问题 #148

Open
liuyifang1121 opened this issue Aug 9, 2023 · 0 comments
Open

setOnUniMPEventCallBack回调无效的问题 #148

liuyifang1121 opened this issue Aug 9, 2023 · 0 comments

Comments

@liuyifang1121
Copy link

uni小程序sdk的问题:
UNIDCUniMPSDK.getInstance().setOnUniMPEventCallBack 这个方法注册,uniapp里面调用没有任何回调信息。
同步注册的胶囊的监听方法(DCUniMPSDK.getInstance().setDefMenuButtonClickCallBack)有效果,都是在uniapp界面加载之后注册的监听,注册如下:
image

HbuilderX(版本:3.8.7.20230703)里面日志跟了一下uniapp代码是执行到了(uni.sendNativeEvent)方法的,如下:
image

请问下导致此问题的原因是什么呢?从头到尾对着官方的集成文档对了几遍都没问题,Uniapp界面也是正常加载的。
unisdk版本:3.8.7([email protected]
Android版本:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant