Commit 1e01ace0 authored by Libin Lu's avatar Libin Lu
parents f8aa45b0 a9624bfc
......@@ -4,6 +4,9 @@
- If you are running RN < 0.30.0, you need to use react-native-fcm@1.0.15
- If you are running RN < 0.33.0, you need to user react-native-fcm@1.1.0
- Otherwise use latest v2 and use XCode 8 and latest Firebase SDK (iOS 3.6.0)
- local notification is only available in V2
- @antoinerousseau has a working project setup so you can check if there is issue https://github.com/antoinerousseau/tribeez
## Installation
......@@ -404,8 +407,11 @@ in sum
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.
#### Some features are missing
Issues and pull requests are welcome. Let's make this thing better!
#### Thanks
#### Credits
Local notification implementation is inspired by react-native-push-notification by zo0r
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment