I can't find much documentation around this issue. All other running apps on my pebble have a connection to my phone, and work as expected. However, a Pebble.js application I'm currently working on simply displays Disconnected - run the pebble phone app
.
I have noticed that in my Developer Settings that the Connection Manager is listed as Disconnected
. Is this part of the problem? I see nothing in the logs.
For reference, the application is doing a simple ajax request and displaying the result.
This message is often caused by the JavaScript crashing on the phone (undefined reference, unknown function, etc) and so the watch thinks it is not running.
Some ideas to debug this:
console.log("hello world")
statement and see if this works.View Logs
button in CloudPebble or pebble logs
on the command line).