Skip to content

Simple Pebble SDK 3.0 app that pushes timeline pins to the user an hour ahead.

License

Notifications You must be signed in to change notification settings

pebble-examples/timeline-push-pin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

push-pin-app

This is a Pebble SDK 3.0 example app that demonstrates how an app can use PebbleKit JS to push a pin to itself through the public timeline API.

It includes a segment of JS code (marked 'timeline lib') that can be re-used in any Pebble app that needs to push pins to its user.

Setup

In order for it to work, you must do the following:

  1. Generate a new UUID for appinfo.json with uuidgen or similar method.

  2. Upload the modified app to the Developer Portal (it does not need to be published).

  3. Enable it for the timeline.

Try it out!

The app will push a pin with a random id to a time one hour in the future. After running the app, check the future of your timeline!

You can remove the pins by pressing the Select button on a pin in the timeline and choosing 'Remove'.

About

Simple Pebble SDK 3.0 app that pushes timeline pins to the user an hour ahead.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •