Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push to all devices #15

Closed
hectorlee opened this issue Feb 7, 2015 · 3 comments
Closed

Push to all devices #15

hectorlee opened this issue Feb 7, 2015 · 3 comments

Comments

@hectorlee
Copy link

Based on the pushbullet API, the device iden is optional. If no device iden is present then the push is sent to all devices. Would it be possible to add that feature?

@brantje
Copy link

brantje commented Feb 7, 2015

You can use an empty devicesParams object.

  var deviceParams = {};
      pusher.note(deviceParams, msg.title, msg.message, function(error, response) {
        // response is the JSON response from the API
      });

@alexwhitman
Copy link
Owner

Thanks @brantje - I'll update the documentation with that information when I get a chance.

@hectorlee
Copy link
Author

Thanks @brantje

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants