From 798acc047fbc0b9665a4d6101c7ddef13ab141de Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Sat, 16 Sep 2017 16:21:25 -0400 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2fff682..30825dd 100644 --- a/README.md +++ b/README.md @@ -407,6 +407,7 @@ class App extends Component { Firebase android misses important feature of android notification like `group`, `priority` and etc. As a work around you can send data message (no `notification` payload at all) and this repo will build a local notification for you. If you pass `custom_notification` in the payload, the repo will treat the content as a local notification config and shows immediately. NOTE: By using this work around, you will have to send different types of payload for iOS and Android devices because custom_notification isn't supported on iOS +NOTE2: `custom_notification` **cannot** be used together with `notification` attribute. use `data` only Example of payload that is sent to FCM server: ``` -- 2.26.2