安辉
安辉
您好,华为手机设置通道id无效,我看了下代码,华为推送的时候把channelId封装到AndroidNotification对象中,但是在最终推送的时候又没有使用这个对象。
您好,vIvo推送payload也必须要传uri才行了,跟oppo发送消息一样。 等于vivo的skipContent值跟oppo的clickActionUrl字段值类似。vivo也需要用Activity接收通知栏点击,不然推送的时候就会提示:被拉起的Activity 未找到
### Oppo私信必须要要用单推,如果用广播每个人一天会限制5条消息 > 参考官方地址:https://open.oppomobile.com/new/developmentDoc/info?id=11238 修改OppoPushProvider类的sendMessageToSingle方法 ``` @Override protected MixPushResult sendMessageToSingle(MixPushMessage mixPushMessage, String regId){ Notification notification = toMessage(mixPushMessage); try { if (mixPushMessage.getConfig().getOppoPushChannelId() == null) { throw new Exception("必须在“通道配置 → 新建通道”模块中登记 channelId,再在发送消息时选择通道发送...
华为默认是资讯营销分类,这个分类是静默通知,仅在通知栏展示消息,并且一天只能发三条消息。 参考文档:https://developer.huawei.com/consumer/cn/doc/HMSCore-Guides/message-restriction-description-0000001361648361 开发文档:https://developer.huawei.com/consumer/cn/doc/HMSCore-Guides/message-classification-0000001149358835#section1085395991513 我看了下服务器的代码,需要在com.huawei.push.message.Message.Builder静态类中增加android属性,这也是个对象 参考文档:https://developer.huawei.com/consumer/cn/doc/HMSCore-References/https-send-api-0000001050986197#ZH-CN_TOPIC_0000001700731289__p5203378238
您好,部分Vivo手机推送消息,会提示regId 不合法。 咨询了Vivo客服,对方说需要升级服务器的Java SDK版本。 参考文档:https://dev.vivo.com.cn/documentCenter/doc/363 您这边的服务器源码我看vpush-server-sdk文件夹下是没有代码的,我们也不好修改?您方便升级一下吗?