Commit 3839f567 authored by Lidan Hifi's avatar Lidan Hifi

1.0.0 🎉

parent 1a2f6a2b
# React Native Notifications [![Build Status](https://travis-ci.org/wix/react-native-notifications.svg)](https://travis-ci.org/wix/react-native-notifications) # React Native Notifications [![Build Status](https://travis-ci.org/wix/react-native-notifications.svg)](https://travis-ci.org/wix/react-native-notifications)
Handle all the aspects of push notifications for your app, including remote and local notifications, interactive notifications, and more. Handle all the aspects of push notifications for your app, including remote and local notifications, interactive notifications, silent notifications, and more.
**All the native iOS notifications features are supported!** Android push support is in progress. **All the native iOS notifications features are supported!** Android push support is in progress.
### Supported Features (iOS) ### Supported Features (iOS)
- [Remote notifications](#handling-received-notifications) - [Remote notifications](#handling-received-notifications).
- [Local notifications](#triggering-local-notifications) - [Local notifications](#triggering-local-notifications).
- [Background notifications](#managed-notifications-ios-only) - [Background notifications](#managed-notifications-ios-only).
- [Managed notifications](#managed-notifications-ios-only) (notifications that can be cleared from the server, like Facebook messenger and Whatsapp web) - [Managed notifications](#managed-notifications-ios-only) (notifications that can be cleared from the server, like Facebook messenger and Whatsapp web).
- [PushKit API](#pushkit-api-ios-only) for VoIP and other background messages. - [PushKit API](#pushkit-api-ios-only) for VoIP and other background messages.
- [Interactive notifications](#interactive--actionable-notifications-ios-only) that allows you to provide additional functionality to your users outside of your application. - [Interactive notifications](#interactive--actionable-notifications-ios-only) that allows you to provide additional functionality to your users outside of your application.
...@@ -282,8 +282,8 @@ componentWillUnmount() { ...@@ -282,8 +282,8 @@ componentWillUnmount() {
} }
``` ```
1. Notice that PushKit device token and regular notifications device token are different, so you must handle two different tokens in the server side in order to support this feature. > 1. Notice that PushKit device token and regular notifications device token are different, so you must handle two different tokens in the server side in order to support this feature.
2. PushKit will not request permissions from the user for push notifications. > 2. PushKit will not request permissions from the user for push notifications.
--- ---
...@@ -413,4 +413,10 @@ The [example app](https://github.com/wix/react-native-notifications/tree/master/ ...@@ -413,4 +413,10 @@ The [example app](https://github.com/wix/react-native-notifications/tree/master/
- `actions` - An array of `NotificationAction` objects, which related to this category. - `actions` - An array of `NotificationAction` objects, which related to this category.
- `context` - Indicating the amount of space available for displaying actions in a notification. - `context` - Indicating the amount of space available for displaying actions in a notification.
- `default` (default) - Displayes up to 4 actions (full UI). - `default` (default) - Displayes up to 4 actions (full UI).
- `minimal` - Displays up tp 2 actions (minimal UI). - `minimal` - Displays up tp 2 actions (minimal UI).
\ No newline at end of file
## License
The MIT License.
See [LICENSE](LICENSE)
\ No newline at end of file
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
rootViewController.view = rootView; rootViewController.view = rootView;
self.window.rootViewController = rootViewController; self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible]; [self.window makeKeyAndVisible];
return YES; return YES;
} }
......
{ {
"name": "react-native-notifications", "name": "react-native-notifications",
"version": "0.1.3", "version": "1.0.0",
"description": "Advanced Push Notifications (Silent, interactive notifications) for iOS & Android", "description": "Advanced Push Notifications (Silent, interactive notifications) for iOS & Android",
"author": "Lidan Hifi <lidan.hifi@gmail.com>", "author": "Lidan Hifi <lidan.hifi@gmail.com>",
"license": "MIT", "license": "MIT",
...@@ -13,7 +13,11 @@ ...@@ -13,7 +13,11 @@
"push notifications", "push notifications",
"notifications", "notifications",
"notification", "notification",
"react native notifications" "react native notifications",
"pushkit",
"push-kit",
"actionable-notifications",
"interactive-notifications"
], ],
"nativePackage": true, "nativePackage": true,
"dependencies": { "dependencies": {
...@@ -25,12 +29,12 @@ ...@@ -25,12 +29,12 @@
}, },
"devDependencies": { "devDependencies": {
"babel-eslint": "^6.0.2", "babel-eslint": "^6.0.2",
"babel-preset-react-native": "^1.5.6", "babel-preset-react-native": "^1.9.0",
"babel-register": "^6.7.2", "babel-register": "^6.7.2",
"chai": "^3.5.0", "chai": "^3.5.0",
"chokidar-cli": "^1.2.0", "chokidar-cli": "^1.2.0",
"eslint": "^2.7.0", "eslint": "^2.12.0",
"mocha": "^2.4.5", "mocha": "^2.5.3",
"proxyquire": "^1.7.4", "proxyquire": "^1.7.4",
"sinon": "^1.17.3", "sinon": "^1.17.3",
"sinon-chai": "^2.8.0" "sinon-chai": "^2.8.0"
......
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