Are (local) timeline pins already workin (in the emulator)?

Hi, I’m developing an app in which I want to use (local) timeline pins. From the java file which runs on the phone, I try to install a local pin with the timeline.js library but keep getting an error from Pebble.getTimelineToken(). I’ve uploaded my app (both to repebble and rebble) but it still fails. On repebble, I can’t find the checkbox on my registered app to indicate it’s using the timeline. I do not have my watch (yet), so all of this is running on a local emulator.

1 Like

Good catch. I just pushed a change to pypkjs that will enable this. It will be included in the next version of the pebble tool and emulator. but it’s already up on Cloudpebble.repebble.com if you want to try it!

The change Emulate timeline API locally for emulator support by ericmigi · Pull Request #2 · coredevices/pypkjs · GitHub

1 Like