@@ -314,6 +314,13 @@ NOTE: it is recommend not to rely on `data` payload for click_action as it can b
...
@@ -314,6 +314,13 @@ NOTE: it is recommend not to rely on `data` payload for click_action as it can b
## Q & A
## Q & A
#### Why do you build another local notification
Yes there are `react-native-push-notification` and `react-native-system-notification` which are great libraries. However
- We want a unified local notification library but people are reporting using react-native-push-notification with this repo has compatibility issue as `react-native-push-notification` also sets up GCM.
- We want to have local notification to have similar syntax as remote notification payload.
- The PushNotificationIOS by react native team is still missing features that recurring, so we are adding it here
- I'm still thinking about separating this functionality out into its own repo so people who want to use local notification won't have to deal with FCM overhead. Let me know your thoughts
#### My Android build is failing
#### My Android build is failing
Try update your SDK and google play service
Try update your SDK and google play service
...
@@ -348,4 +355,4 @@ Or you can send `data` using FCM and build a local notification
...
@@ -348,4 +355,4 @@ Or you can send `data` using FCM and build a local notification
Issues and pull requests are welcome. Let's make this thing better!
Issues and pull requests are welcome. Let's make this thing better!
#### Thanks
#### Thanks
Local notification implementation is inspired by react-native-push-notification by zo0r and Neson
Local notification implementation is inspired by react-native-push-notification by zo0r