From 0a40c0d128f16c71f81c7c08a3b2dc0ce49792c2 Mon Sep 17 00:00:00 2001 From: Javier Date: Wed, 27 Jan 2016 18:18:27 -0300 Subject: [PATCH] add additional data to be used when notification is clicked --- lib/pushnotificationsservice.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pushnotificationsservice.js b/lib/pushnotificationsservice.js index 35281da..a200714 100644 --- a/lib/pushnotificationsservice.js +++ b/lib/pushnotificationsservice.js @@ -122,7 +122,8 @@ PushNotificationsService.prototype._sendPushNotifications = function(notificatio opts.android = { "data": { "title": content.plain.subject, - "message": content.plain.body + "message": content.plain.body, + "walletId": notification.walletId, } };