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,4 +1,4 @@
import apn from 'apn/mock';
import apn from '@parse/node-apn/mock';
import _ from 'lodash';
import nconf from 'nconf';
import gcmLib from 'node-gcm'; // works with FCM notifications too