diff --git a/README.md b/README.md index 52dcbea9f89e8349ae2c5219b2ebb86821a2a258..913ac52ddf317d516b0736e796e841ba3e880f80 100644 --- a/README.md +++ b/README.md @@ -144,12 +144,12 @@ NOTE: it is recommend not to reply on extra data for click_action as it can be o ## Q & A ### 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 doesn't receive onMessageReceived -### App running in background doesn't get onMessageReceived if app is running in background +### I can't get notification data when app is killed? +If you send notification with `data` only, you can only get the data message when app is in foreground or background. Killed app doesn't trigger FCMNotificationReceived. Seems that is how FCM works today +### App running in background doesn't get `FCMNotificationReceived` [Android] Well these is [an issue opened there](https://github.com/google/gcm/issues/63). You will received data payload in FCM.initialData 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) +### 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 post notification for you) ### Notification payload and data payload are mixed in iOS app. I'm not doing any filtering. Try to add some `type` attributes to differentiate data payload from APN notification ### It is missing some features