diff --git a/README.md b/README.md index c672a16e87350baa4dad3c7bc201fee5dbea3ba8..7790ea741610b4e9cb9757a32860e359441de8b3 100644 --- a/README.md +++ b/README.md @@ -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