From 9cfb58c5cc97d8a2f74f558c5eee2f58e7b09cb5 Mon Sep 17 00:00:00 2001 From: Charles Reitz Date: Sat, 28 May 2016 14:52:38 -0700 Subject: [PATCH 1/7] Fix typo : "Bellow" -> "Below" --- docs/IOS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/IOS.md b/docs/IOS.md index 43be561..a2539ae 100644 --- a/docs/IOS.md +++ b/docs/IOS.md @@ -20,7 +20,7 @@ This is described bellow: 6. Test the `*.pem` files making sure they work 7. Add the `*.pem` files to your `/private` folder in the Meteor app -If you need to learn more about creating certificates you should read the whole [Great writeup by Ali](http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1) - Bellow is a short snippet from the blog: +If you need to learn more about creating certificates you should read the whole [Great writeup by Ali](http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1) - Below is a short snippet from the blog: ###Making a PEM File So now you have three files: From a1c5202a17919f108fae6c091aa03085b0e60589 Mon Sep 17 00:00:00 2001 From: Mike Cunneen Date: Wed, 21 Sep 2016 10:22:24 +0800 Subject: [PATCH 2/7] Update node-gcm, phonegap-plugin-push, cordova-plugin-device. Didn't update node apn package as the latest one seemed to require further code changes, and the current one seems fine. --- package.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.js b/package.js index 600b061..1a77200 100644 --- a/package.js +++ b/package.js @@ -8,12 +8,12 @@ Package.describe({ // Server-side push deps Npm.depends({ 'apn' : '1.6.2', // '1.7.4', // working: 1.6.2 - 'node-gcm' : '0.9.6', // '0.12.0' // working: 0.9.6 + 'node-gcm' : '0.14.4', // previously: 0.9.6 }); Cordova.depends({ - 'phonegap-plugin-push': '1.6.4', // 1.3.0 - 'cordova-plugin-device': '1.1.1', + 'phonegap-plugin-push': '1.8.2', // previously 1.6.4 + 'cordova-plugin-device': '1.1.3', // previously 1.1.1 }); Package.registerBuildPlugin({ From 31d3a13ea2e26c98d1c8525a6f403d4a5473003c Mon Sep 17 00:00:00 2001 From: Morten Henriksen Date: Mon, 3 Oct 2016 03:43:20 +0200 Subject: [PATCH 3/7] bump 3.1.0-pre.1 --- .versions | 2 +- package.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.versions b/.versions index ccdeb60..4564c0f 100644 --- a/.versions +++ b/.versions @@ -35,7 +35,7 @@ ordered-dict@1.0.8 promise@0.7.3 raix:eventemitter@0.1.3 raix:eventstate@0.0.2 -raix:push@3.0.3-rc.7 +raix:push@3.1.0-pre.1 random@1.0.10 reactive-var@1.0.10 retry@1.0.8 diff --git a/package.js b/package.js index 1a77200..0e56b25 100644 --- a/package.js +++ b/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'raix:push', - version: '3.0.3-rc.7', + version: '3.1.0-pre.1', summary: 'Isomorphic Push notifications for APN and GCM', git: 'https://github.com/raix/push.git' }); From dce4339dc30eb68885fc1068bcdf3ccbfbfa6c41 Mon Sep 17 00:00:00 2001 From: Morten Henriksen Date: Mon, 3 Oct 2016 04:14:47 +0200 Subject: [PATCH 4/7] Add note about progress tracking --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index d2d8fed..4a2b9f7 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,10 @@ Example code for [sound](https://github.com/raix/push/issues/9#issuecomment-2160 Note: Version 3 uses the cordova npm plugin [phonegap-plugin-push](https://github.com/phonegap/phonegap-plugin-push#pushnotificationinitoptions) +## Development + +Watch the project [progress](https://github.com/raix/push/projects/1) for status or join development + ## Config Use the `Push.Configure` function on client and server. From ecc1ecc75dee549d2f0059b7b9aecaa944bcb779 Mon Sep 17 00:00:00 2001 From: Lars Buur Date: Mon, 16 Jan 2017 14:53:36 +0100 Subject: [PATCH 5/7] Current 3.1.0-pre.1 uses phonegap-plugin-push v. 1.8.2 updated to 1.8.4. 1.8.2 throws the following error : Fatal Exception: java.lang.NoSuchMethodError: No static method getNoBackupFilesDir(Landroid/content/Context;)Ljava/io/File; in class Lcom/google/android/gms/common/util/zzx; or its super classes (declaration of 'com.google.android.gms.common.util.zzx' appears in /data/app/xyz/base.apk) at com.google.android.gms.iid.zzd.zzeC(Unknown Source) at com.google.android.gms.iid.zzd.(Unknown Source) at com.google.android.gms.iid.zzd.(Unknown Source) at com.google.android.gms.iid.InstanceID.zza(Unknown Source) at com.google.android.gms.iid.InstanceID.getInstance(Unknown Source) at com.adobe.phonegap.push.PushPlugin$1.run(PushPlugin.java:75) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) More info here: https://github.com/phonegap/phonegap-plugin-push/issues/1319#issuecomment-257462713 --- package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.js b/package.js index 0e56b25..dbeba83 100644 --- a/package.js +++ b/package.js @@ -12,7 +12,7 @@ Npm.depends({ }); Cordova.depends({ - 'phonegap-plugin-push': '1.8.2', // previously 1.6.4 + 'phonegap-plugin-push': '1.8.4', // previously 1.6.4 'cordova-plugin-device': '1.1.3', // previously 1.1.1 }); From 5bbb911ca6356858ee6830979b7ad94f29206eb4 Mon Sep 17 00:00:00 2001 From: Morten Henriksen Date: Wed, 22 Nov 2017 21:01:07 +0100 Subject: [PATCH 6/7] Add semantic-release --- .traivs-cd.yml | 29 +++++++++++++++++++++++++++++ bin/updateversion.js | 12 ++++++++++++ package.js | 2 +- package.json | 25 +++++++++++++++++++++++++ 4 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 .traivs-cd.yml create mode 100755 bin/updateversion.js create mode 100644 package.json diff --git a/.traivs-cd.yml b/.traivs-cd.yml new file mode 100644 index 0000000..280982b --- /dev/null +++ b/.traivs-cd.yml @@ -0,0 +1,29 @@ +language: node_js + +cache: + directories: + - ~/.npm + - ~/.meteor + - "node_modules" + +node_js: + - '8' + +install: + - npm install + - if [[ ! -e "$HOME/.meteor" ]]; then curl https://install.meteor.com/ | sh; fi + - export PATH=$HOME/.meteor:$PATH + - npx meteor-ci login ${METEOR_TOKEN} --key ${METEOR_KEY} + - meteor whoami + +stages: + - test + - release + +script: + - npm test + - npm run semantic-release + +branches: + except: + - /^v\d+\.\d+\.\d+$/ diff --git a/bin/updateversion.js b/bin/updateversion.js new file mode 100755 index 0000000..e59d6bc --- /dev/null +++ b/bin/updateversion.js @@ -0,0 +1,12 @@ +#!/usr/bin/env node + +/** + * This file updates version in package.js from package.json (provided by semantic-release) + */ + +const fs = require('fs'); +const path = require('path'); +const packageJSON = require(path.join(process.cwd(), './package.json')); +const packageJSPath = path.join(process.cwd(), 'package.js'); +const packageJS = fs.readFileSync(packageJSPath, 'utf-8'); +fs.writeFileSync(packageJSPath, packageJS.replace('0.0.0-semantic-release', packageJSON.version), 'utf-8'); diff --git a/package.js b/package.js index 0e56b25..245f66f 100644 --- a/package.js +++ b/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'raix:push', - version: '3.1.0-pre.1', + version: '0.0.0-semantic-release', summary: 'Isomorphic Push notifications for APN and GCM', git: 'https://github.com/raix/push.git' }); diff --git a/package.json b/package.json new file mode 100644 index 0000000..2e0a952 --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "push", + "version": "0.0.0-semantic-release", + "description": "Isomorphic Push notifications for APN and GCM", + "main": "index.js", + "scripts": { + "test": "echo \"Tests not implemented\" && exit 0", + "semantic-release": "semantic-release pre && ./bin/updateversion.js && meteor publish && semantic-release post" + }, + "release": { + "getLastRelease": "meteor-ci/src/get-last-release-cb.js" + }, + "repository": "https://github.com/raix/push.git", + "author": "", + "license": "MIT", + "bugs": { + "url": "https://github.com/raix/push/issues" + }, + "homepage": "https://github.com/raix/push#readme", + "devDependencies": { + "meteor-ci": "0.3.0", + "semantic-release": "^8.2.0", + "semver": "^5.4.1" + } +} From 1fa030a27cd020165c97aaa956193ecb5e7c4d0b Mon Sep 17 00:00:00 2001 From: Morten Henriksen Date: Wed, 22 Nov 2017 21:51:03 +0100 Subject: [PATCH 7/7] fix travis naming gosh... --- .traivs-cd.yml => .travis.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .traivs-cd.yml => .travis.yml (100%) diff --git a/.traivs-cd.yml b/.travis.yml similarity index 100% rename from .traivs-cd.yml rename to .travis.yml