Browse Source

Merge pull request #452 from JDonadio/fix/click-push-notifications

WIP tap on notification
activeAddress
Matias Alejo Garcia 9 years ago
parent
commit
dd809706f0
  1. 5
      lib/pushnotificationsservice.js

5
lib/pushnotificationsservice.js

@ -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…
Cancel
Save