钛机器人组合推送通知

时间:2015-02-04 13:34:25

标签: titanium titanium-mobile appcelerator appcelerator-acs

我正在开发一个具有推送通知的Android应用程序。 我正在使用titanium cloudpush模块来接收推送通知。 问题是我无法组合/分组通知。每个通知都保持独立。如果有两个通知,我想合并。 这是我的收据代码

CloudPush.addEventListener('callback', function(evt) {
        if (evt.payload != null) {
        var data = JSON.parse(evt.payload);
}

});

我用过

<property name="acs-grouped-notification-message-" type="string">You have $number$ unread notifications!</property> in tiapp.xml

但没有用

提前致谢。

0 个答案:

没有答案
相关问题