按照对应的文件目录配置了音频文件,也进行了自定义APP基座打包,使用
![](http://img-cdn-tc.dcloud.net.cn/uploads/questions/20230414/cde3cb9baa6e56442afc04e4e0166431.png)
plugin.testNotification({
channelId: "test" //渠道id
});
测试的时候,还是播放的系统默认提示音。
另外想请教一下
plugin.setCustomPushChannel({
soundName: "pushsound",
channelId: "test",
channelDesc:"test渠道描述",
enableLights:true,
enableVibration:true,
importance:3,
lockscreenVisibility:0
});
这个 channelId 和 channelDesc 的参数应该填写的是什么。
使用 unipush 进行消息推送
uniPush.sendMessage() 方法 他的 channel 参数 格式怎么填写
如下图 oppo / 小米 的参数 填写 “普通消息” / “公信” 是这样吗。