Merge pull request #452 from JDonadio/fix/click-push-notifications
WIP tap on notification
This commit is contained in:
commit
dd809706f0
|
@ -10,6 +10,7 @@ var fs = require('fs');
|
|||
var path = require('path');
|
||||
var Utils = require('./common/utils');
|
||||
var Model = require('./model');
|
||||
var sjcl = require('sjcl');
|
||||
var log = require('npmlog');
|
||||
log.debug = log.verbose;
|
||||
|
||||
|
@ -122,7 +123,9 @@ PushNotificationsService.prototype._sendPushNotifications = function(notificatio
|
|||
opts.android = {
|
||||
"data": {
|
||||
"title": content.plain.subject,
|
||||
"message": content.plain.body
|
||||
"message": content.plain.body,
|
||||
"walletId": sjcl.hash.sha256.hash(notification.walletId),
|
||||
"notId": Math.floor(Math.random()*100000)+1
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue