消息推送OPPO,VIVO增加厂商配置参数

This commit is contained in:
qiaoqinzheng 2024-01-31 17:51:11 +08:00
parent c892a339e0
commit b6bad77274

View File

@ -131,9 +131,11 @@ public class PushAppUtil {
ups.addOption("HW", "/message/android/notification/importance", "HIGH");
ups.addOption("HW", "/message/android/category", "WORK");
//OPPO手机配置厂商参数
ups.addOption("OP", "/channel_id", "Default");
ups.addOption("OP", "/off_line", true);
ups.addOption("OP", "/show_ttl", 86400);
//VIVO手机配置厂商参数
ups.addOption("VV", "/category", "DEVICE_REMINDER");
ups.addOption("VV", "/notifyType", 4);
ups.addOption("VV", "/timeToLive", 86400);