Commit 9345da2b authored by Libin Lu's avatar Libin Lu

add data

parent 9e32abba
...@@ -143,7 +143,10 @@ class MainPage extends Component { ...@@ -143,7 +143,10 @@ class MainPage extends Component {
"custom_notification": { "custom_notification": {
"title": "Simple FCM Client", "title": "Simple FCM Client",
"body": "Click me to go to detail", "body": "Click me to go to detail",
data: {targetScreen: 'detail'} data: {
targetScreen: 'detail',
now: new Date().toISOString()
}
} }
}, },
"priority": 10 "priority": 10
...@@ -157,7 +160,8 @@ class MainPage extends Component { ...@@ -157,7 +160,8 @@ class MainPage extends Component {
"sound": "default" "sound": "default"
}, },
data: { data: {
targetScreen: 'detail' targetScreen: 'detail',
now: new Date().toISOString()
}, },
"priority": 10 "priority": 10
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment