|
@@ -124,8 +124,10 @@ public class GeTuiUtils {
|
|
ups.addOption("HW", "/message/android/notification/badge/class", "io.dcloud.PandoraEntry ");
|
|
ups.addOption("HW", "/message/android/notification/badge/class", "io.dcloud.PandoraEntry ");
|
|
ups.addOption("HW", "/message/android/notification/badge/add_num", 1);
|
|
ups.addOption("HW", "/message/android/notification/badge/add_num", 1);
|
|
ups.addOption("HW", "/message/android/notification/sound", "/raw/ring");
|
|
ups.addOption("HW", "/message/android/notification/sound", "/raw/ring");
|
|
- ups.addOption("HW", "/message/android/notification/channel_id", "task1");
|
|
|
|
- ups.addOption("HW", "/message/android/notification/importance", "HIGH");
|
|
|
|
|
|
+ ups.addOption("HW", "/message/android/notification/channel_id", "task2");
|
|
|
|
+ ups.addOption("HW", "/message/android/notification/importance", "NORMAL");
|
|
|
|
+ ups.addOption("HW", "/message/android/notification/category", "WORK");
|
|
|
|
+ ups.addOption("HW", "/message/android/notification/default_sound", false);
|
|
ups.addOption("XM", "/extra.sound_uri", "android.resource://uni.UNI7297DA2/raw/task1");
|
|
ups.addOption("XM", "/extra.sound_uri", "android.resource://uni.UNI7297DA2/raw/task1");
|
|
ups.addOption("XM", "/extra.channel_id", "high_custom_5");
|
|
ups.addOption("XM", "/extra.channel_id", "high_custom_5");
|
|
//ups.addOption("VV","classification",1);
|
|
//ups.addOption("VV","classification",1);
|
|
@@ -218,9 +220,9 @@ public class GeTuiUtils {
|
|
message.setTemplateArgs(params);
|
|
message.setTemplateArgs(params);
|
|
|
|
|
|
try {
|
|
try {
|
|
- VoiceResponseResult result = VoiceSender.httpsSendVoiceNotify(message, accountId, token);
|
|
|
|
|
|
+// VoiceResponseResult result = VoiceSender.httpsSendVoiceNotify(message, accountId, token);
|
|
|
|
|
|
- System.out.println("result = " + result);
|
|
|
|
|
|
+// System.out.println("result = " + result);
|
|
|
|
|
|
}catch (Exception e) {
|
|
}catch (Exception e) {
|
|
//Log.e(this.getClass(), " e = " + e);
|
|
//Log.e(this.getClass(), " e = " + e);
|