Pebble SDK 4 is now available for developers who are interested in using the new APIs and features. We encourage developers to read the Release Notes, the SDK 4 Docs, and the new guides listed below to help familiarize themselves with the new functionality.
$ brew update && brew upgrade pebble-sdk && pebble sdk install latest
Download the SDK package.
Follow the Mac manual installation instructions.
Linux users should install the SDK manually using the instructions below:
Download the relevant package: Linux (32-bit) | Linux (64-bit).
Install the SDK by following the manual installation instructions.
We've published several useful blog posts regarding SDK 4:
To get you started, we have updated the following sections of the Pebble Developer site with new content and information on designing and developing for the new Pebble hardware platform:
A 2-part Rocky.js tutorial - Learn how to create watchfaces in JavaScript using Rocky.js.
An updated Hardware Comparison chart - See the hardware differences between all Pebble platforms.
AppExitReason API Guide - A new
guide with information on how to use the AppExitReason
API.
AppGlance C API Guide - A new guide describing how to use the AppGlance API to display information in the system's launcher.
AppGlance PebbleKit JS API Guide - A new guide describing how to use the AppGlance API to display information in the system's launcher.
One Click Action Guide - A new guide with information on how to use one-click actions in watchapps.
UnobstuctedArea API Guide - A
new guide that will demonstrate the basics of the UnobstructedArea
API, and
how to use it to create watchfaces that respond to Timeline Quick View events.