From 9345da2b0d6d32d92c2bfef1265865df2b2b306c Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Mon, 16 Apr 2018 00:22:37 -0400 Subject: [PATCH] add data --- Examples/firebase-migration/app/App.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Examples/firebase-migration/app/App.js b/Examples/firebase-migration/app/App.js index 04bbd94..2dedfa1 100644 --- a/Examples/firebase-migration/app/App.js +++ b/Examples/firebase-migration/app/App.js @@ -143,7 +143,10 @@ class MainPage extends Component { "custom_notification": { "title": "Simple FCM Client", "body": "Click me to go to detail", - data: {targetScreen: 'detail'} + data: { + targetScreen: 'detail', + now: new Date().toISOString() + } } }, "priority": 10 @@ -157,7 +160,8 @@ class MainPage extends Component { "sound": "default" }, data: { - targetScreen: 'detail' + targetScreen: 'detail', + now: new Date().toISOString() }, "priority": 10 } -- 2.26.2