From 3839f56768527711bd8ab77083cc5447b18367b8 Mon Sep 17 00:00:00 2001 From: Lidan Hifi Date: Wed, 15 Jun 2016 02:15:35 +0300 Subject: [PATCH] 1.0.0 :tada: --- README.md | 22 ++++++++++++------- .../ios/NotificationsExampleApp/AppDelegate.m | 2 +- package.json | 14 +++++++----- 3 files changed, 24 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index dd72540..df198e2 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # 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. ### Supported Features (iOS) -- [Remote notifications](#handling-received-notifications) -- [Local notifications](#triggering-local-notifications) -- [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) +- [Remote notifications](#handling-received-notifications). +- [Local notifications](#triggering-local-notifications). +- [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). - [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. @@ -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. -2. PushKit will not request permissions from the user for push notifications. +> 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. --- @@ -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. - `context` - Indicating the amount of space available for displaying actions in a notification. - `default` (default) - Displayes up to 4 actions (full UI). - - `minimal` - Displays up tp 2 actions (minimal UI). \ No newline at end of file + - `minimal` - Displays up tp 2 actions (minimal UI). + + +## License +The MIT License. + +See [LICENSE](LICENSE) \ No newline at end of file diff --git a/example/ios/NotificationsExampleApp/AppDelegate.m b/example/ios/NotificationsExampleApp/AppDelegate.m index f759c7e..36d06d6 100644 --- a/example/ios/NotificationsExampleApp/AppDelegate.m +++ b/example/ios/NotificationsExampleApp/AppDelegate.m @@ -55,7 +55,7 @@ rootViewController.view = rootView; self.window.rootViewController = rootViewController; [self.window makeKeyAndVisible]; - + return YES; } diff --git a/package.json b/package.json index 59c59cd..6b9c207 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-notifications", - "version": "0.1.3", + "version": "1.0.0", "description": "Advanced Push Notifications (Silent, interactive notifications) for iOS & Android", "author": "Lidan Hifi ", "license": "MIT", @@ -13,7 +13,11 @@ "push notifications", "notifications", "notification", - "react native notifications" + "react native notifications", + "pushkit", + "push-kit", + "actionable-notifications", + "interactive-notifications" ], "nativePackage": true, "dependencies": { @@ -25,12 +29,12 @@ }, "devDependencies": { "babel-eslint": "^6.0.2", - "babel-preset-react-native": "^1.5.6", + "babel-preset-react-native": "^1.9.0", "babel-register": "^6.7.2", "chai": "^3.5.0", "chokidar-cli": "^1.2.0", - "eslint": "^2.7.0", - "mocha": "^2.4.5", + "eslint": "^2.12.0", + "mocha": "^2.5.3", "proxyquire": "^1.7.4", "sinon": "^1.17.3", "sinon-chai": "^2.8.0" -- 2.26.2