Reputation: 765
I working on an app in which I am using Parse as a backend. I am implementing Push notification using Parse. I have done all the configurations in the app side. But I am not able to find any space on Parse server to upload .p12 file or Push notification key.
I am attaching screenshot which is visible to me.
I have checked all the possible options to upload the push certificates. But unfortunately I didn't find any.
Upvotes: 1
Views: 467
Reputation: 905
Please take a look at the push notifications quick start section in the Parse Server Guide.
It states that 'when initialising Parse Server, you should pass an additional push configuration' as shown below...
var server = new ParseServer({
databaseURI: '...',
cloud: '...',
appId: '...',
masterKey: '...',
push: {
android: {
apiKey: '...'
},
ios: {
pfx: '/file/path/to/XXX.p12',
passphrase: '', // optional password to your p12/PFX
bundleId: '',
production: false
}
}
});
Take a look at the section in the docs mentioned above for more details on implementing push notifications with Parse Server such as additional configuration options.
Upvotes: 2