Skip to content

Commit

Permalink
3.0.0-rc.2
Browse files Browse the repository at this point in the history
Still need to clean up the api - but it’s working now
  • Loading branch information
Morten Henriksen committed Sep 30, 2015
1 parent 8c994ac commit a6453f8
Show file tree
Hide file tree
Showing 15 changed files with 542 additions and 369 deletions.
11 changes: 9 additions & 2 deletions .jshintrc
Expand Up @@ -22,7 +22,7 @@
"maxdepth": false,
"maxstatements": false,
"maxcomplexity": false,
"maxlen": 80,
"maxlen": 120,
"asi": false,
"boss": false,
"debug": false,
Expand Down Expand Up @@ -73,6 +73,7 @@
"Cordova",
"Deps",
"ECMAScript",
"EJSON",
"EventState",
"Map",
"Match",
Expand All @@ -85,10 +86,16 @@
"Random",
"Set",
"Tracker",
"_",
"babelHelpers",
"check"
],
"globals": {
"Push": true
"Push": true,
"_matchToken": true,
"_removeToken": true,
"_replaceToken": true,
"checkClientSecurity": true,
"initPushUpdates": true
}
}
223 changes: 0 additions & 223 deletions .npm/package/npm-shrinkwrap.json

This file was deleted.

88 changes: 44 additions & 44 deletions .versions
@@ -1,46 +1,46 @@
babel-compiler@5.8.22-rc.1
babel-runtime@0.1.4-rc.0
base64@1.0.4-rc.0
binary-heap@1.0.4-rc.0
blaze@2.1.3-rc.0
blaze-tools@1.0.4-rc.0
boilerplate-generator@1.0.4-rc.1
callback-hook@1.0.4-rc.0
check@1.0.6-rc.0
ddp@1.2.1-rc.0
ddp-client@1.2.1-rc.2
ddp-common@1.2.1-rc.0
ddp-server@1.2.1-rc.2
deps@1.0.8-rc.0
diff-sequence@1.0.1-rc.0
ecmascript@0.1.3-rc.3
ecmascript-collections@0.1.5-rc.1
ejson@1.0.7-rc.0
geojson-utils@1.0.4-rc.0
html-tools@1.0.5-rc.0
htmljs@1.0.5-rc.1
id-map@1.0.4-rc.0
jquery@1.11.4-rc.0
logging@1.0.8-rc.1
meteor@1.1.7-rc.2
minimongo@1.0.9-rc.0
mongo@1.1.1-rc.4
mongo-id@1.0.1-rc.0
npm-mongo@1.4.39-rc.0_1
observe-sequence@1.0.7-rc.0
ordered-dict@1.0.4-rc.0
promise@0.4.8-rc.0
babel-compiler@5.8.24_1
babel-runtime@0.1.4
base64@1.0.4
binary-heap@1.0.4
blaze@2.1.3
blaze-tools@1.0.4
boilerplate-generator@1.0.4
callback-hook@1.0.4
check@1.0.6
ddp@1.2.2
ddp-client@1.2.1
ddp-common@1.2.1
ddp-server@1.2.1
deps@1.0.9
diff-sequence@1.0.1
ecmascript@0.1.5
ecmascript-collections@0.1.6
ejson@1.0.7
geojson-utils@1.0.4
html-tools@1.0.5
htmljs@1.0.5
id-map@1.0.4
jquery@1.11.4
logging@1.0.8
meteor@1.1.9
minimongo@1.0.10
mongo@1.1.2
mongo-id@1.0.1
npm-mongo@1.4.39_1
observe-sequence@1.0.7
ordered-dict@1.0.4
promise@0.5.0
raix:eventemitter@0.1.3
raix:eventstate@0.0.2
raix:push@3.0.0-rc.1
random@1.0.4-rc.0
reactive-var@1.0.6-rc.0
retry@1.0.4-rc.0
routepolicy@1.0.6-rc.0
spacebars@1.0.7-rc.0
spacebars-compiler@1.0.7-rc.0
tracker@1.0.8-rc.0
ui@1.0.7-rc.0
underscore@1.0.4-rc.0
webapp@1.2.2-rc.3
webapp-hashing@1.0.4-rc.0
raix:push@3.0.0-rc.2
random@1.0.4
reactive-var@1.0.6
retry@1.0.4
routepolicy@1.0.6
spacebars@1.0.7
spacebars-compiler@1.0.7
tracker@1.0.9
ui@1.0.8
underscore@1.0.4
webapp@1.2.2
webapp-hashing@1.0.5
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -25,6 +25,9 @@ Have a look at the [Basic example](docs/BASIC.md)

Or check out the [DEMO](https://github.com/elvismercado/meteor-raix-push-demo) by @elvismercado

Note:
Version 3 uses the cordova npm plugin [phonegap-plugin-push](https://github.com/phonegap/phonegap-plugin-push#pushnotificationinitoptions)

## Config
Add a `config.push.json` file in your project and configure credentials / keys / certificates:

Expand Down Expand Up @@ -53,7 +56,7 @@ Add a `config.push.json` file in your project and configure credentials / keys /
// "sendBatchSize": 1 Configurable number of notifications to send per batch
}
```
*Note: This file should be pure json, comments are not supported*
*Note: This file should be pure json, comments are supported/stripped out before parsing*

## Common api
```js
Expand Down
3 changes: 2 additions & 1 deletion docs/ADVANCED.md
Expand Up @@ -100,7 +100,8 @@ Add a `config.push.json` file in your project and configure credentials / keys /

### Server api
Please note that `Push.Configure` is called automatically when using the `config.push.json` file. `Push.Configure` may only be called once otherwise it throws an error - this is intended behaviour.

## NOTE! Outdated
If you want to use the Push.Configure on the client use the options described [here](https://github.com/phonegap/phonegap-plugin-push#pushnotificationinitoptions)
```js
Push.Configure({
gcm: {
Expand Down
Binary file added docs/img/xcode.push.enabled.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a6453f8

Please sign in to comment.