Commit 8aae2dc8 authored by Libin Lu's avatar Libin Lu Committed by GitHub

Update README.md

parent 5f22953d
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment