A node service that handles sending push notifications to iOS and Android devices
Homepage Repository npm Download
npm install push-service-server@1.1.0
A mobile (iOS, Android) push notification handler for the server.
var android = {
region: 'eu-west-1',
apiVersion: '2010-03-31',
accessKeyId: 'accessKeyId',
secretAccessKey: 'secretAccessKey',
platformApplicationArn: 'platformApplicationArn'
};
var ios = {
region: 'eu-west-1',
apiVersion: '2010-03-31',
accessKeyId: 'accessKeyId',
secretAccessKey: 'secretAccessKey',
platformApplicationArn: 'platformApplicationArn',
sandbox: false // Should be true in development
};
pushService.setup(ios, android); // You can add a third boolean parameter to display server logs