From 8aae2dc866005e64521d76bbf53f791af6a7cf31 Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Thu, 2 Mar 2017 09:28:39 -0500 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e084aa..142dc30 100644 --- a/README.md +++ b/README.md @@ -384,7 +384,7 @@ Example of payload that is sent to FCM server: Check local notification guide below for configuration. ### Behaviour when sending `notification` and `data` payload through GCM -- When app is not running and user clicks notification, notification data will be passed into `FCM.getInitialNotification` event +- When user clicks notification to ** launch ** the application, you can get that notification by calling `FCM.getInitialNotification`. (NOTE: reloading javascript or resuming from background won't change the value) - When app is running in background (the tricky one, I strongly suggest you try it out yourself) - IOS will receive notificaton from `FCMNotificationReceived` event -- 2.26.2