From e41156c66089ed2310e3f455238bc65ee3faf490 Mon Sep 17 00:00:00 2001 From: Alex Dunne Date: Fri, 17 Nov 2017 09:24:39 +0000 Subject: [PATCH] Updated README syntax Minor change - caught my eye as I was reading the example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31f1ae3..6cbc908 100644 --- a/README.md +++ b/README.md @@ -346,7 +346,7 @@ class App extends Component { // initial notification contains the notification that launchs the app. If user launchs app by clicking banner, the banner notification info will be here rather than through FCM.on event // sometimes Android kills activity when app goes to background, and when resume it broadcasts notification before JS is run. You can use FCM.getInitialNotification() to capture those missed events. // initial notification will be triggered all the time even when open app by icon so send some action identifier when you send notification - FCM.getInitialNotification().then(notif=>{ + FCM.getInitialNotification().then(notif => { console.log(notif) }); } -- 2.26.2