Open nabelou10 opened 7 years ago
Here's how mine looks
Push.Configure({
apn: {
certData: Assets.getText('cert-prod.pem'),
keyData: Assets.getText('key-prod.pem'),
passphrase: '*********',
production: true,
gateway: 'gateway.push.apple.com',
},
gcm: {
apiKey: 'apikey',
projectNumber: 123456789,
},
production: true,
sound: true,
alert: true,
vibrate: true,
});
The only thing you're missing is gateway
I followed the steps carefully but after deploying my app with Heroku; the app slows down and does not get any notifications. Maybe someone get tell me what I did wrong. My push-server code
And my push-client code
I have the .pem files inside /private; I get notifications on Android but nothing and IOS