开发者社区 问答 正文

使用阿里云移动推送uniapp 插件,自定义基座const aliyunPush = uni.re

使用阿里云移动推送uniapp 插件,自定义基座 const aliyunPush = uni.requireNativePlugin('Aliyun-Push'); aliyunPush.setNotificationCallback({}, result => { this.handleResult("setNotificationCallback", result); }); 这个方法没有触发回调咋办?

展开
收起
爱喝咖啡嘿 2023-01-05 13:13:40 493 分享 版权
1 条回答
写回答
取消 提交回答
  • f8a2c0025c7e58dd905d9318386d1c84.png 这个是收到推送通知后才会回调——该回答整理自钉群“应用研发平台EMAS开发者交流群”

    2023-01-06 13:36:47
    赞同 展开评论