iOS push notifications, use node-apn (#10517)

* fixing typos in comments. yes, I am that kind of nerd

* replacing push-notify with node-apn in deps and in pushNotifications.js

* updating calling code and tests to use node-apn

* updating APN configs to new format

* migrating team ID and key ID to config.json

* update code to use env variables and add correct topic
This commit is contained in:
Matteo Pagliazzi
2018-07-12 12:56:15 +02:00
committed by GitHub
parent 08e925e3da
commit e7944b3d98
6 changed files with 148 additions and 83 deletions

View File

@@ -15,7 +15,7 @@ import {BuyGemOperation} from './buyGem';
import {BuyQuestWithGemOperation} from './buyQuestGem';
// @TODO: remove the req option style. Dependency on express structure is an anti-pattern
// We should either have more parms or a set structure validated by a Type checker
// We should either have more params or a set structure validated by a Type checker
// @TODO: when we are sure buy is the only function used, let's move the buy files to a folder