Skip to content

Releases: Meteor-Community-Packages/raix-push

Updated PushPlugin supports both ios7+ios8

28 Jan 11:35
Compare
Choose a tag to compare

This release fixes the startup event amongst others - For more details lookup the changelog.

We are currently still using a branched version of the cordova plugin and I had to update alot of the code in order to provide support for ios7+ios8.

Theres extra setting support in config.push.json a apn-dev option for setting credentials for development - this is used when the production flag is false

  "apn-dev": {
    "passphrase": "xxxxxxxxx",
    "key": "apnDevKey.pem",
    "cert": "apnDevCert.pem"
  }, 

This release contains pull requests #32 (@alexcorre) and #29 (@funkyeah)

Please help out by testing, writing documentation or code via pull requests.

Kind regards Morten (aka @raix)

Now added secure client-side send!

26 Dec 14:14
Compare
Choose a tag to compare
Pre-release

This release is huge since it starts to utilize the isomorphic nature of Meteor.js - cool, heh?

Added allow and deny rules as you know them:

Push.allow({
  send: function(userId, notification) {
    return true;
  }
});

So you can send to all apps using the query selector:

// Send from anywhere - this could be in a browser...
// Lets also set the badge on ios - 12 is no coincidence
Push.send({ from: 'Driftsstatus', title: 'Test', text: 'Hello from client', count: 12, query: {}, payload: { foo: new Date() } });

Note payload types are preserved via EJSON

So if you added the accounts package to your app, why not send to an user?

Push.send({ from: 'RaiX', title: 'Test', text: 'Hello from client to another user', count: 1, query: {
  userId: '6MY9ftp7cYGSQZw9z'
} });

You can still send to app id's or the real tokens

Additional features:

  • We automatically rig the apn feedback to cleanup invalidated tokens
  • Updated documentation in general and added guides to both apn and gcm

Android and iOS server send

16 Dec 13:35
Compare
Choose a tag to compare

This release works on cordova android and ios.

The client-side send and allow/deny rules are not implemented in this release. For more info on this checkout the client-send branch (wip)

The client-side of Safari / Chrome OS and Firefox OS is implemented but not tested + server-side of Firefox is not implemented.

RaiX