Description
Everything works perfect in parse server but when i am trying to configure push notification i get following exceptions:
Android: I/ParseException=﹕ com.parse.ParseRequest$ParseRequestException: Push adapter is not availabe
IOS:[Error]: Push adapter is not availabe (Code: 115, Version: 1.12.0)
HTTP curl -X POST via Terminal: {"code":115,"error":"Push adapter is not available"}
I using Heroku/MongoDB,the repository is parse-server-example
I even tryed
push: {
adapter: ParsePushAdapter
}
this is my code:
var api = new ParseServer({
databaseURI: databaseUri,
cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
appId: process.env.APP_ID,
masterKey: process.env.MASTER_KEY,
fileKey:'filekey',
push: {
android: {
senderId: 'my sender id',
apiKey: 'my apiKey'
},
ios: [
{
pfx: '/developmentcertificate.p12',
bundleId: 'bundleId',
production: false // Dev
},
{
pfx: 'distributioncertificate.p12',
bundleId: 'bundleId',
production: true // Prod
}
]
}
});
This is my question on stackoverflow: http://stackoverflow.com/questions/35543279/parse-push-adapter-is-not-availabe-on-my-own-parse-server
Thank you for your advice.