diff --git a/README.md b/README.md index 8e084aa2cecec90e53d52e14c3ff5ea7e8291168..142dc30bab32ee3675ea8dbe45da085c09dae61e 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