activitree / meteor-push

Meteor Push Notifications for Cordova and Web/PWA with Firebase (FCM).
MIT License
27 stars 19 forks source link

Question: Does this work in Meteor 1.6+ #22

Closed lokiribeiro closed 4 years ago

lokiribeiro commented 4 years ago

Hi,

This is more of a question. Does this work for Meteor 1.6? I cant seem to make apn push notification to work from raix due to the certificates; I keep getting error code 8 when sending notifications even tho Im using the right certificates for production / development and i wanted to use p8 files instead.

paulincai commented 4 years ago

@lokiribeiro you would need at least Meteor 1.8.1. This is the time when the Cordova components in Meteor were updated. https://github.com/meteor/meteor/blob/devel/History.md#breaking-changes-3

Cordova compatibility chart: https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md#installation-requirements

This Push project uses phonegap-plugin-push@2.3.0.

There is a lot of new tech there and couldn't keep glued to such old versions. I think it is needless to say that best would be if you could move your project to latest Meteor and benefit from all those goodies, especially Node12, Mongo 4.2 with 3.5 driver and most important ... easy upgradability to Meteor 1.10.

A far more updated Push package than Raix is the V1 of this package which works with Meteor 1.6.

lokiribeiro commented 4 years ago

Hi @paulincai , for v1 of this project does it use p8 certificate for apn?

paulincai commented 4 years ago

@lokiribeiro Yes: https://github.com/activitree/meteor-push/tree/45d97977c37d70d561fcdc4cd78e3af3bc910e88

You might be lucky and possibly avail of a path to move Meteor 1.6 straight up to the latest Cordova version. Check this discussion and perhaps Filipe can give you the "how to" https://forums.meteor.com/t/meteor-1-6-how-do-i-get-upgrade-to-latest-cordova/40486/9. In this case you should be able to use V2 of this Push package.

lokiribeiro commented 4 years ago

Alright, so im migrating from raix:push. Does it use the same configure options and syntax for sending notifications?

paulincai commented 4 years ago

@lokiribeiro you may find all these answers in the repo.