From 281e735a244c40d503e65cfa36f3b660309dc7f5 Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Mon, 11 Jul 2016 17:43:38 -0400 Subject: [PATCH] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 590e434..3bb7a74 100644 --- a/README.md +++ b/README.md @@ -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 -- When app is not running when user clicks notification, notification data will be passed into - - `FCM.initialAction`(contains `click_action` in notification payload - - `FCM.initialData` (contains `data` payload if you send together with notification) +- When app is not running when user clicks notification, notification data will be passed into `FCM.initialData` - 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