Commit 16c1791f authored by Libin Lu's avatar Libin Lu
parents 41078a02 281e735a
...@@ -149,9 +149,7 @@ In [firebase console](https://console.firebase.google.com/), you can get `google ...@@ -149,9 +149,7 @@ In [firebase console](https://console.firebase.google.com/), you can get `google
``` ```
### Behaviour when sending `notification` and `data` payload through GCM ### Behaviour when sending `notification` and `data` payload through GCM
- When app is not running when user clicks notification, notification data will be passed into - When app is not running when user clicks notification, notification data will be passed into `FCM.initialData`
- `FCM.initialAction`(contains `click_action` in notification payload
- `FCM.initialData` (contains `data` payload if you send together with notification)
- 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