{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab.pebble/issues/5","labels_url":"https://api.github.com/repos/openhab/openhab.pebble/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab.pebble/issues/5/comments","events_url":"https://api.github.com/repos/openhab/openhab.pebble/issues/5/events","html_url":"https://github.com/openhab/openhab.pebble/issues/5","id":124575599,"number":5,"title":"Pebble screen is blank and then after a few secs displays Disconnected","user":{"login":"clach04","id":424032,"avatar_url":"https://avatars.githubusercontent.com/u/424032?v=3","gravatar_id":"","url":"https://api.github.com/users/clach04","html_url":"https://github.com/clach04","followers_url":"https://api.github.com/users/clach04/followers","following_url":"https://api.github.com/users/clach04/following{/other_user}","gists_url":"https://api.github.com/users/clach04/gists{/gist_id}","starred_url":"https://api.github.com/users/clach04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clach04/subscriptions","organizations_url":"https://api.github.com/users/clach04/orgs","repos_url":"https://api.github.com/users/clach04/repos","events_url":"https://api.github.com/users/clach04/events{/privacy}","received_events_url":"https://api.github.com/users/clach04/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-02T05:04:39Z","updated_at":"2016-01-10T04:16:44Z","closed_at":null,"body":"See on Pebble Time device with firmware version 3.8.2 (with version 1.0 in pebble store https://apps.getpebble.com/en_US/application/5542604d45bf334314000098?section=watchapps). And current code in https://cloudpebble.net on both Aplite and Basalt.\r\n\r\nPebble screen is blank and then after a few secs displays:\r\n\r\n    Disconnected\r\n    Run the Pebble\r\n    Phone App\r\n\r\nDebug logging shows:\r\n\r\n    [PHONE] pebble-app.js:?: SyntaxError: Unexpected identifier\r\n    [PHONE] pebble-app.js:?: JS failed.\r\n\r\n\r\nNOTE to run in current emulator appinfo.json needs updating - see  issue #4"},"comment":{"url":"https://api.github.com/repos/openhab/openhab.pebble/issues/comments/170312726","html_url":"https://github.com/openhab/openhab.pebble/issues/5#issuecomment-170312726","issue_url":"https://api.github.com/repos/openhab/openhab.pebble/issues/5","id":170312726,"user":{"login":"clach04","id":424032,"avatar_url":"https://avatars.githubusercontent.com/u/424032?v=3","gravatar_id":"","url":"https://api.github.com/users/clach04","html_url":"https://github.com/clach04","followers_url":"https://api.github.com/users/clach04/followers","following_url":"https://api.github.com/users/clach04/following{/other_user}","gists_url":"https://api.github.com/users/clach04/gists{/gist_id}","starred_url":"https://api.github.com/users/clach04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clach04/subscriptions","organizations_url":"https://api.github.com/users/clach04/orgs","repos_url":"https://api.github.com/users/clach04/repos","events_url":"https://api.github.com/users/clach04/events{/privacy}","received_events_url":"https://api.github.com/users/clach04/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T04:16:44Z","updated_at":"2016-01-10T04:16:44Z","body":"See comment 2 - Android not iOS.\r\n\r\nJust tried  v1.1 in the emulator on CloudPebble,.v1.1 builds now that issues #4 is resolved :) However it is not working/running on Android nor the CloudPebble emulator with v3.8 of Pebble OS.\r\n\r\nWhat platforms/versions is this working on for you?\r\n\r\nThis is caused by the \"for .. of\" syntax, adding the var' deceleration will not resolve this. It isn't clear to me that ES6 support is coming from Pebble so replacing the for..of with an alternative seems the best bet (e.g. \"for..in\", I'm not clear if forEach is supported, I've not checked).\r\n"}}