From a7ed07c6f06149b3c7c0824ac8896b42b269b7a1 Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Fri, 7 Oct 2016 15:39:28 -0400 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ad3f94..9ce1caa 100644 --- a/README.md +++ b/README.md @@ -415,7 +415,8 @@ Great, how do I configure for FCM? It is up to you! FCM is just a bridging library that passes notification into javascript world. You can define your own NSDictionary and pass it into notification. #### I want to show notification when app is in foreground -It is more flexible to just build your own notification like banner instead of calling notification API. Here is a tool https://github.com/devBrian/react-native-dropdownalert. If you have a valid case that has to show notification in foreground, you can create it using native code. +Use `show_in_foreground` attribute to tell app to show banner even if the app is in foreground. +Warning: foreground banner won't show in android for remote notification due to limitation of FCM SDK. However you can create a local notification yourself. A pull is welcome to fix this. #### Some features are missing Issues and pull requests are welcome. Let's make this thing better! -- 2.26.2