diff --git a/app.js b/app.js index 829b682..5012976 100644 --- a/app.js +++ b/app.js @@ -21,6 +21,7 @@ module.exports.sendPush = function sendPush(config) { "content-available": config.contentAvailable, "badge": config.badge } : { + "content-available": config.contentAvailable, "alert": config.text, "title": config.title, "badge": config.badge, diff --git a/package.json b/package.json index bbb7940..984c8de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "appboy-sdk", - "version": "0.1.2", + "version": "0.1.3", "description": "appboy sdk", "main": "app.js", "author": "Doxout", diff --git a/test.js b/test.js index 5fcfd4f..4fe58ce 100644 --- a/test.js +++ b/test.js @@ -2,7 +2,7 @@ var t = require('blue-tape'); var appboySdk = require('./app.js'); var groupId = ""; -var recipients = ["416a4195-b842-4f83-9cfb-a6798767b26a", "2e8de969-3ab0-4344-b55f-bb7ffb912422", "2b711785-5f5a-4640-bf65-4771cc35cff1"]; +var recipients = ["311e1e74-fce0-4d7f-b264-e2c2cd3210b1"]; var text = "This is a test notification"; var title = "This is the title"; var badge = 1;