<commit_before># react-native-remote-push
React Native module that allows you to:
 1. Request push notification permissions
 2. Get the device token back from the request
 3. Subscribe to remote push notifications

It's very basic code for now, but provides functionality above and beyond the PushNotificationIOS class that is provided as standard in react native.

It borrows heavily from the way that the Cordova Push Plugin works, so massive thanks to those guys, over here: https://github.com/phonegap-build/PushPlugin

... more to come!

I'm not too sure how to distribute this as a module (NPM?), so if you want to help me do that, feel free to make some pull requests.

## Examples
### Getting started
Copy all of the files to your XCode directory, and add them to your project. Then, when you want to use the module, require the RemotePushIOS class, e.g.

```
var RemotePushIOS = require("./../RemotePush/RemotePushIOS");<commit_msg>Updated readme to refer to NPM<commit_after># react-native-remote-push
React Native module that allows you to:
 1. Request push notification permissions
 2. Get the device token back from the request
 3. Subscribe to remote push notifications

It's very basic code for now, but provides functionality above and beyond the PushNotificationIOS class that is provided as standard in react native.

It borrows heavily from the way that the Cordova Push Plugin works, so massive thanks to those guys, over here: https://github.com/phonegap-build/PushPlugin

... more to come!

Thanks to @jhen0409 this is now available as an NPM module:
npm install react-native-remote-push


## Examples
### Getting started
Copy all of the files to your XCode directory, and add them to your project. Then, when you want to use the module, require the RemotePushIOS class, e.g.

```
var RemotePushIOS = require("./../RemotePush/RemotePushIOS");
{'fraction_non_alphanumeric': 0.06545064377682404, 'fraction_numerical': 0.00536480686695279, 'mean_word_length': 4.343839541547278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4767321', 'n_tokens_mistral': 501, 'n_tokens_neox': 477, 'n_words': 266}