We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好,vIvo推送payload也必须要传uri才行了,跟oppo发送消息一样。
等于vivo的skipContent值跟oppo的clickActionUrl字段值类似。vivo也需要用Activity接收通知栏点击,不然推送的时候就会提示:被拉起的Activity 未找到
The text was updated successfully, but these errors were encountered:
首先感谢作者的无私奉献哈,让我接入厂商推送方便了很多。集成很快。请问后台java代码有开源吗?
还有一个问题,就是如果VIVO推送,MixPushResult对象的taskId没有值,需要从extra对象里面取taskId。
以下是我的代码,希望您在框架里面封装一下: if(result.isSucceed()){ String taskId=result.getTaskId(); Object extra=result.getExtra(); if(Utils.equals(pfName,Constants.PushMan.VIVO) && extra !=null && extra instanceof Result){//vivo手机要单独取task id taskId=((Result) extra).getTaskId(); } System.out.println("发送成功 任务id:"+taskId+" json:"+result.toJSON().toString()); }else{ System.out.println("发送失败 错误说明:"+result.getReason()+" json:"+result.toJSON().toString()); }
if(result.isSucceed()){ String taskId=result.getTaskId(); Object extra=result.getExtra(); if(Utils.equals(pfName,Constants.PushMan.VIVO) && extra !=null && extra instanceof Result){//vivo手机要单独取task id taskId=((Result) extra).getTaskId(); } System.out.println("发送成功 任务id:"+taskId+" json:"+result.toJSON().toString()); }else{ System.out.println("发送失败 错误说明:"+result.getReason()+" json:"+result.toJSON().toString()); }
Sorry, something went wrong.
No branches or pull requests
您好,vIvo推送payload也必须要传uri才行了,跟oppo发送消息一样。
等于vivo的skipContent值跟oppo的clickActionUrl字段值类似。vivo也需要用Activity接收通知栏点击,不然推送的时候就会提示:被拉起的Activity 未找到
The text was updated successfully, but these errors were encountered: