Update parse-server-push-adapter to the latest version 🚀 (#3983)
* fix(package): update parse-server-push-adapter to version 2.0.0 * Update helper.js * default push config to android as ios is pickier
This commit is contained in:
committed by
Florent Vilmart
parent
2f00e4afda
commit
d8a257d951
@@ -31,7 +31,7 @@
|
||||
"multer": "1.3.0",
|
||||
"parse": "1.10.0",
|
||||
"parse-server-fs-adapter": "1.0.1",
|
||||
"parse-server-push-adapter": "1.3.0",
|
||||
"parse-server-push-adapter": "2.0.0",
|
||||
"parse-server-s3-adapter": "1.1.0",
|
||||
"parse-server-simple-mailgun-adapter": "1.0.0",
|
||||
"pg-promise": "5.9.7",
|
||||
|
||||
@@ -107,8 +107,9 @@ describe("AdapterLoader", ()=>{
|
||||
|
||||
it("should load push adapter from options", (done) => {
|
||||
var options = {
|
||||
ios: {
|
||||
bundleId: 'bundle.id'
|
||||
android: {
|
||||
senderId: 'yolo',
|
||||
apiKey: 'yolo'
|
||||
}
|
||||
}
|
||||
expect(() => {
|
||||
|
||||
@@ -95,11 +95,9 @@ var defaultConfiguration = {
|
||||
silent,
|
||||
logLevel,
|
||||
push: {
|
||||
'ios': {
|
||||
cert: 'prodCert.pem',
|
||||
key: 'prodKey.pem',
|
||||
production: true,
|
||||
bundleId: 'bundleId',
|
||||
android: {
|
||||
senderId: 'yolo',
|
||||
apiKey: 'yolo',
|
||||
}
|
||||
},
|
||||
auth: { // Override the facebook provider
|
||||
|
||||
Reference in New Issue
Block a user