Upgrade APN module (#12818)

* switch apn module to up to date version @parse/apn

* remove old module

* fix unit tests
This commit is contained in:
Matteo Pagliazzi
2020-11-30 20:00:57 +01:00
committed by GitHub
parent 8c953ea8cb
commit 51b50bfa3c
4 changed files with 65 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
import _ from 'lodash';
import nconf from 'nconf';
import apn from 'apn';
import apn from '@parse/node-apn';
import gcmLib from 'node-gcm'; // works with FCM notifications too
import logger from './logger';
import { // eslint-disable-line import/no-cycle