| | |
| | | if (onOtherUniMPEventCallBack != null) { |
| | | onOtherUniMPEventCallBack.onOtherUniMPEventReceive(appid, event, data, callback); |
| | | } else { |
| | | HdlLogLogic.print("收到小程序通知,回调事件为null,无法回调事件并执行业务逻辑 event=" + event + "\r\n" + "data=" + data, true); |
| | | HdlLogLogic.print("收到小程序通知,回调事件为null,无法回调事件并执行业务逻辑--->event=" + event + "\r\n" + "data=" + data, true); |
| | | } |
| | | } |
| | | } |
| | |
| | | if (mUniMPCaches.containsKey(uniAppId)) { |
| | | if (mUniMPCaches.get(uniAppId) != null) { |
| | | mUniMPCaches.get(uniAppId).sendUniMPEvent(topic, data); |
| | | HdlLogLogic.print("发送通知成功:event:" + topic + " data:" + new Gson().toJson(data)); |
| | | HdlLogLogic.print("Android--->通知---uni--->主题:" + topic + "--->发送数据:" + new Gson().toJson(data)); |
| | | } else { |
| | | HdlLogLogic.print("发送失败,小程序对象为空:" + uniAppId); |
| | | HdlLogLogic.print("Android--->通知---uni--->失败--->小程序对象为空:" + uniAppId); |
| | | } |
| | | } else { |
| | | HdlLogLogic.print("发送失败,找不到对应的小程序:" + uniAppId); |
| | | HdlLogLogic.print("Android--->通知---uni--->失败--->小程序对象为空:" + uniAppId); |
| | | } |
| | | |
| | | } |