Forum Posts

VT List not displaying

This code segment works on the simulator but causes trackers to go back to the home screen (ends immediately).  If I comment this section out, everything else works.  Thoughts?   //Scroll Display VTList.delegate = { getTileInfo: function(index...

messaging.peerSocket.onopen not always solicited

Since last fitbit android app update I've noticed that messaging.peerSocket.onopen is not sollecited until the smartphone receive a notification. I used this steps to reproduce it:turn off smartphone bt -> messaging.peerSocket.onclose is calledturn o...

SettingsStorage.getItem from settings component

settings/index.jsx <TextInput title="API key" settingsKey="apiKey" />companion/settings.jsimport { settingsStorage } from 'settings'; console.log(settingsStorage.getItem('apiKey')); Writing some 'api key value' in the Text...

Sergius by Base Runner
  • 1685 Views
  • 4 replies
  • 4 votes

WebSocket only works in simulator

Hi, I'm trying to have my companion app and my local server communicate with the WebSocket API. When I try it with the simulator it works no problem, but when I try on my device I get this error message: Fitbit.CompanionHost.Bridge.Modules.EventTarge...

Resolved! Unable to execute fetch on iOS phones.

Hello guys, hope you can help me. I made an app that sends an http request using 'fetch', which works perfectly on Android phones. The problem is that when I try to execute the 'fetch' command on iPhones, it will just not work. I keep on getting the ...

Image disappearing from Fitbit full screen event

I have an image element that keeps disappearing whenever the watchface has a full screen event, like when it receives a call and the call overlays the watchface. When the call notification ends, the image is no longer displayed and the watchface has ...

cramis1 by Base Runner
  • 556 Views
  • 0 replies
  • 0 votes

SDK Bug Reporting

I have not been able to find a specific forum to report bugs in the SDK.  Does one exist or is this it?Thanks,Rich 

Problem with async/await timing out

Hi, I'm using async/await with a setTimeout() function and I'm getting that the following message on my versa > App timeout triggered; app closing. See https://dev.fitbit.com/build/reference/device-api/appbit/#interface-appbit- The code works on the ...

Renno by Recovery Runner
  • 1461 Views
  • 10 replies
  • 0 votes

Login Issues With Google account

Hello Team,I have found one issue related to login.The issue is, When i am trying to signup with Facebook and after successfully signup, I am doing login with this URL https://www.fitbit.com/login and here it is showing three sign in process but i am...

Resolved! Fill on masked arc not showing in simulator (bug/error)

Hi,I've encountered a strange bug/error.When running my watchface on my device, I am able to set the fill colour of my arc inside my <mask>, but when I run it on the simulator the arc does not have a colour. I have created an example project for you ...

MaskedArcError-screenshot.png MaskedArcError-screenshot (2).png

Rotated G Clipping and Artifact Issues

Whenever I try to rotate a <g> containing a rect or a gradientrect that's with a width larger than the screen and with a negative x position it gets clipped on the right side for about the same distance than it's x offset. In this image, you can see ...

versa-issue.jpg
sGerli by Recovery Runner
  • 890 Views
  • 3 replies
  • 0 votes

Resolved! Error: fb-[color] is not a valid css color

I'm trying to create settings to select colors for my clock-face, but it seems the "FitBit Named Colors" are not recognized in the Studio css implementation:  I'm using the 'Moment' SDK example project as my model for the settings page, but am attemp...

2018-05-30 06_14_40-index.jsx - Overlapse.png

App crashes on device, but works on simulator

I've written part of the application.When I decided to launch on the real device it crashed after a couple of seconds. When I launch the application on the simulator it works well. I made two videos to compare these two options.App repository: https:...

App working on simulator but not Versa

I made a new Nixie Tube watchface, but it only runs on the Fitbit OS Simulator. When I attempt to run it on my actual device, it doesn't work. It shows the time, but then numbers start to flicker and disappear. Some never even load, especially 2's an...

Bug with locale.language

 When you call locale.language it returns the value in the format "en_AU" instead of "en-AU". I tested this for "fr-FR", and "de-DE" and it returned these in the incorrect format. I presume that this is the case for other locales.As these are not usi...

allyann by Runner
  • 1266 Views
  • 4 replies
  • 3 votes

companion setting components inconsistent messages

 <TextInput title="Alert Interval"   label="Alert Interval (number of heart beats)"   type="number"   settingsKey="alertInterval" /> produces the message: {“isTrusted":false,"key":"alertInterval","oldValue":"{\"name\":\"13\"}","newValue":"{\"name\":\...

allyann by Runner
  • 906 Views
  • 0 replies
  • 0 votes

Resolved! Heart Rate Sensor listener for no reading

I have an app built which listens for heart rate using the Heart Rate Sensor. When I take the watch off it does not pick up that there is no data being sensed by the sensor. Is there a listener to listen for when readings have stopped? I have checked...

allyann by Runner
  • 2215 Views
  • 10 replies
  • 3 votes

Heart Rate timestamp dated Sun Jan 04 1970 21:16:05

I did this and used:  ts = heartRateMonitor.timestamp;now = Date.now(); As you can see I got wildly different times. I would have thought the the heart rate timestamp would have been synced to the watch time??? [22:35:15]ts: Sun Jan 04 1970 21:16:05 ...

allyann by Runner
  • 887 Views
  • 2 replies
  • 0 votes