From c2658e2a60d460862498a53a9e60ee8ec688176d Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Sat, 4 Jun 2016 15:20:40 -0400 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1fd68b7..ae50ed4 100644 --- a/README.md +++ b/README.md @@ -145,9 +145,9 @@ NOTE: it is recommend not to reply on extra data for click_action as it can be o ### My android build is failing Try update your SDK and google play service ### I can't get data notification when app is killed? -If you send notification with payload only, you can only get the data message when app is in foreground or background. Killed app can't show notification -### I can't get data notification when app is in background with hybrid notification -I want to figure it out too. Looks like that is how GCM/FCM works. I'm sending 2 notification separately for now. Let me know if you find a better solution +If you send notification with payload only, you can only get the data message when app is in foreground or background. Killed app doesn't receive onMessageReceived +### App running in background doesn't get onMessageReceived if app is running in background +Well these is [an issue opened there](https://github.com/google/gcm/issues/63). You will received data payload if you click on the notification. But if you just open the app, the data is lost. ### I can't get notification payload when my android app is in foreground It is better to use data payload if you need to pass data into application. I haven't implemented notification payload bridging in android module and am not planning to (the SDK should handle the payload for you) ### Notification payload and data payload are mixed in iOS app. -- 2.26.2