1.0.0 • Published 9 years ago

message-queue-pebble v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

JS Message Queue Build Status devDependency Status

PebbleKit JS library for sending messages to your Pebble.

Advantages

Automatically retries sending messages when they fail, and ensures that messages are sent in order (i.e. wait for first message to be acknowledged before sending the second message.

Usage

  1. Include js-message-queue.min.js in your Pebble JS file, either by copying and pasting it into the top of pebble-js-app.js, or by adding it to your JS build script.
  2. Replace all instances of Pebble.sendAppMessage() with MessageQueue.sendAppMessage().
  3. Profit!