From 8076bd44dd41846a5495a5322862889b3df2d545 Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Wed, 2 May 2018 21:49:07 -0400 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 520e818..bd473e1 100644 --- a/README.md +++ b/README.md @@ -537,8 +537,11 @@ It is up to you! FCM is just a bridging library that passes notification into ja #### I want to show notification when app is in foreground Use `show_in_foreground` attribute to tell app to show banner even if the app is in foreground. + NOTE: this flag doesn't work for Android push notification, use `custom_notification` to achieve this. +NOTE: foreground notification is not available on iOS 9 and below + #### Do I need to handle APNS token registration? No. Method swizzling in Firebase Cloud Messaging handles this unless you turn that off. Then you are on your own to implement the handling. Check this link https://firebase.google.com/docs/cloud-messaging/ios/client -- 2.26.2