diff --git a/README.md b/README.md index 8813f88d02e90c6a53ea06733d07ac50e3b69d40..43b01ca2e4647617e9159b05fe2e7052584d6a98 100644 --- a/README.md +++ b/README.md @@ -244,7 +244,7 @@ class App extends Component { }); 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 body: "from future past", repeat_interval: "week" //day, hour