使用推送通知解析app不播放声音

时间:2015-05-12 03:40:59

标签: ios parse-platform apple-push-notifications

我有一个使用Parse.com进行推送通知的应用。这些是通过Cloud Code触发的,但这些通知在触发时会进入静音状态,没有声音,没有任何振动。它出了什么问题?

pushQuery.equalTo('channels', newUserId);
                      if (anonymous2 == "false") {
                      Parse.Push.send({
where: pushQuery, // Set our Installation query
data: {
alert: firstName2 + " " + lastName2 + " " + "just added a prayer request."
}
}, {
success: function() {
    // Push was successful
},
error: function(error) {
    throw "Got an error " + error.code + " : " + error.message;
}
});
                      }

0 个答案:

没有答案