Commit 62bdb1c1 authored by Libin Lu's avatar Libin Lu Committed by GitHub

Update README.md

parent bdc3a953
...@@ -244,8 +244,9 @@ class App extends Component { ...@@ -244,8 +244,9 @@ class App extends Component {
FCM.scheduleLocalNotification({ FCM.scheduleLocalNotification({
fire_date: new Date(), fire_date: new Date(),
id: "UNIQ_ID_STRING" //REQUIRED! this is what you use to lookup and delete notification id: "UNIQ_ID_STRING", //REQUIRED! this is what you use to lookup and delete notification
body: "from future past" body: "from future past",
repeat_interval: "week" //day, hour
}) })
FCM.getScheduledLocalNotifications().then(...); FCM.getScheduledLocalNotifications().then(...);
......
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