@@ -384,7 +384,7 @@ Example of payload that is sent to FCM server:
...
@@ -384,7 +384,7 @@ Example of payload that is sent to FCM server:
Check local notification guide below for configuration.
Check local notification guide below for configuration.
### Behaviour when sending `notification` and `data` payload through GCM
### 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)
- When app is running in background (the tricky one, I strongly suggest you try it out yourself)
- IOS will receive notificaton from `FCMNotificationReceived` event
- IOS will receive notificaton from `FCMNotificationReceived` event