Commit 49aa7b2b authored by Libin Lu's avatar Libin Lu Committed by GitHub

Update README.md

parent 2d2be34d
...@@ -244,7 +244,7 @@ class App extends Component { ...@@ -244,7 +244,7 @@ class App extends Component {
}); });
FCM.scheduleLocalNotification({ FCM.scheduleLocalNotification({
fire_date: new Date(), fire_date: new Date().getTime(), //react convert is used, accept epoch time or ISO string
id: "UNIQ_ID_STRING", //REQUIRED! this is what you use to lookup and delete notification. In android notification with same ID will override each other id: "UNIQ_ID_STRING", //REQUIRED! this is what you use to lookup and delete notification. In android notification with same ID will override each other
body: "from future past", body: "from future past",
repeat_interval: "week" //day, hour repeat_interval: "week" //day, hour
......
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