-
-
Save costinelmarin/093de1eabc7047fea5998b4394ea84e1 to your computer and use it in GitHub Desktop.
Push Meteor Cordova
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apn": { | |
"passphrase": "password", | |
"key": "ios/apn-production/AppProductionKey.pem", | |
"cert": "ios/apn-production/AppProductionCer.pem" | |
}, | |
"apn-dev": { | |
"passphrase": "password", | |
"key": "ios/apn-development/AppDevKey.pem", | |
"cert": "ios/apn-development/AppDevCer.pem" | |
}, | |
"gcm": { | |
"apiKey": "apiKeyHere", | |
"projectNumber": 1234567 | |
}, | |
"production": false, | |
"badge": true, | |
"sound": true, | |
"alert": true, | |
"vibrate": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Meteor.startup(function () { | |
Push.debug=true; | |
}); | |
// permission | |
Push.allow({ | |
send: function(userId, notification) { | |
return true; // Allow all users to send | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment