SDK Development
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Fitbit dev tools are moving to Google Accounts

Hey Fitbit developers, Important update: To ensure you can continue to use dev.fitbit.com and keep your third-party apps for Fitbit devices running smoothly, you’ll need to transition your login to a Google Account. If you don’t make the move, you’ll...

SDK Forum FAQs - README

TABLE OF CONTENTS:   README (general info, API posting guidelines)Fitbit Platform Terms of Service This board is for the discussion of Fitbit's SDK. Here, you can ask questions and get direct responses from in-house developers and fellow third-party ...

JonFitbit by Fitbit Developer
  • 54134 Views
  • 0 replies
  • 10 kudos

Join the Unofficial Fitbit Discord Chat Server

Hello, I've setup an unofficial Fitbit Discord chat server as a place for everyone to discuss all things Fitbit development related. Please feel free to join us at https://discord.gg/4ujeheG Look forward to hearing everyone's ideas and helping each o...

NiVZ by Recovery Runner
  • 56221 Views
  • 14 replies
  • 31 kudos

ERR_REF_COUNT_LIMIT for Timeout

Im getting a Fatal Jerryscript Error: ERR_REF_COUNT_LIMIT error when I try to start a timeout. Any suggestions for how to overcome this? const signalTimeout; if ((flag === true) && (!signalTimeout) ) { signalTimeout = setTimeout(noSignal(), 1800...

cramis1 by Base Runner
  • 920 Views
  • 7 replies
  • 1 kudos

Resolved! SMS and Email Replies like on my Pebble

Are there plans to put "SMS and email voice replies" into the FitBit watches, like I currently have on my Pebble? For me, not having this is a deal breaker and I'll have to go to another option.

Ahaas1 by Jogger
  • 888 Views
  • 4 replies
  • 5 kudos

Our SDK Deprecation Process

In our latest developer blog post, Liam outlines our SDK deprecation process. https://dev.fitbit.com/blog/2019-02-22-our-sdk-deprecation-process/

JonFitbit by Fitbit Developer
  • 895 Views
  • 0 replies
  • 1 kudos

The earliest device of fitbit

Hi, I am trying to develop fitbit SDK, thus I need to know what the earliest version that I can control with these open API is.(cuz my application needs to control as many devices as I can) Can you guys give some help?

Change the dur attribute of an animation in index.js

Hello,I try to change the dur attribute of an animation with javascript but without success...In my code below the idea is to change the dur attribute of animateTransform id "ballAnimation2" <svg> <defs> <symbol id="ballSymbol"> <g id="ball...

ekurgan by Jogger
  • 590 Views
  • 0 replies
  • 0 kudos

Trigger a vibration after an animation

Hello, Is there a way to trigger a vibration at the end of an animation ?Or should I use the setInterval() to simulate the end of the animation and run a vibration in Javascript ?

ekurgan by Jogger
  • 588 Views
  • 0 replies
  • 0 kudos

Tumbler View: Touch Area

Tumbler view: mine doesn't respond to touch above the selected item (which is at mid-screen-height).It seems like the component is not sensitive to touch above its y value, which I specified as per the documentation. The built-in app tumblers (eg, in...

Gondwana by Veteran Runner
  • 628 Views
  • 0 replies
  • 0 kudos

Fitbit Studio

Hi guys. I want to use fitbit studio for a little app that just displays a few photos. I don't mind if the photos are hard-coded into the app becauase I won't be posing it anywhere, but first I need to know a few things bcs im a noob at this. What co...

Any way to get the height of a textarea?

Hi, I need to get the height of a textarea, in pixels or in number of lines. Is that possible? I looked at the getBBox.height, but it returns 0 right after I set the text property. Is there an event I can hook into during rendering, where I can get t...

Jon-DK by Recovery Runner
  • 670 Views
  • 0 replies
  • 1 kudos

developer - Advertisement

You can get assistance from the Roadrunner customer service for any questions. You will be assisted in an easy way. Roadrunner users do not get the right solution for their problems, and tensions continue to increase. At that time, they looked for a ...

Resolved! Developer name change

I have just one clock face on the store, but get emails quite often intended for a second developer whose name also just displays "Amy", who has a LOT of clock faces.  I would like my display name changed to something else so I don't have to keep tel...

Resolved! On click show hide function not working

let titlePage = document.getElementById("appTitle");let nextPage = document.getElementById("click");let defaultScreen = document.getElementById("screen01");let nextScreen = document.getElementById("screen02"); nextScreen.style.display = "none"; nextP...

File Transfer API (SDK 3.0) is very slow

I open this thread because of a problem related to the new File Transfer API to transfer a file from the device to the companion app. The problem is that after a file is enqueued, it takes so long before the file is received from the companion app ru...

sal.disco by Recovery Runner
  • 1008 Views
  • 3 replies
  • 2 kudos

Resolved! Global variable

Hi, I have created a clock face and it works well, I am now trying to add a countdown feature, I have all the math and coding issues sorted, but I need to pass a couple of variables through multiple functions, can I create a global variable that will...

GDPR and HIPAA

Does anyone know whether the Fitbit APIs are compliant with the GDPR and HIPAA, and where I can go to find out more information about compliance?

Resolved! Any reason for "Sideload of app failed. Internal Error"?

I am trying to run my app on Fitbit using developer bridge from Studio but getting error - "Sideload of app failed. Internal Error". Any reason why I might be getting this error? In top bar it shows that I am well connected with the device & phone bu...

Resolved! vibration does't work when Device screen is off

Hi, I'm working on custom clockface for Fitbit. I need to vibrate my Fitbit device on certain hours. However, device vibration doesn't work when the device screen is off.I use the following code to initialize vibration at a certain hour. clock.ontick...

Constant Android issues.....

Is anyone else experiencing problems with android devices and in particular, when using a companion app.I have a couple of watch faces that have multiple colour options available to the user. Now when I built these faces there was no issues either on...

File Transfer Constipation

I've been monitoring the performance of my companion-to-watch image file transfers. They usually take 30-60 seconds, but sometimes nothing happens for many minutes. When I give up waiting and enqueue another file, all of the queued files come through...

Gondwana by Veteran Runner
  • 674 Views
  • 1 replies
  • 1 kudos

Simulator won't install the companion app

I've been developing away merrily for weeks using Eclipse, the simulator and the command line tools, until this morning. Suddenly the install has stopped working for the simulator companion. The app itself installs and runs on the simulator, but the ...

JakeScott by Recovery Runner
  • 1073 Views
  • 3 replies
  • 0 kudos

Easy way for user to discover if there is an update

I noticed that with updated design for clockface face page its not aparent an update is available. Previously when you go to clockface tab, the update button was dirrectly visible. Now you need to press the menu on right to go into that page. Experie...

tejasp by Base Runner
  • 582 Views
  • 0 replies
  • 0 kudos

Is it possible to check the internet connection?

I can check the connection to the mobile application viaif (messaging.peerSocket.readyState === messaging.peerSocket.OPEN) But it only tells whether Fitbit device has a connection via Bluetooth, not both Bluetooth and internet. Is it possible to chec...

Resolved! Is there a way to see the console.log from the watch?

I have a watch face that works well in the simulator and works somewhat on the device. Do the console.log outputs continue to happen when the app is running on the device? I'm thinking there may be clues in the log output as to why it's not quite wor...

JakeScott by Recovery Runner
  • 2134 Views
  • 4 replies
  • 4 kudos

Resolved! Can not send requests from companion

Hello, Clock face does not send requests via companion.Clock face used to work a few days ago, but recently I notice that it does not work properly. Are there any Fitbit bugs for all clock faces? Best,Kairat

Beta Rollout of firmware to developers

Just read about the changes and kudos for the new firmware update. I love that nice new features are still being added. Logged into my fitbit app, and sadly I am not one of the lucky 10% to get the update yet, and it got me thinking. I understand tha...

Problem in running multiple sideload apps on Fitbit Ionic

Hi. I'm developing 3 apps for Ionic and when I run them locally as a sideload app on the watch, only one of them is shown.1- How can I have all of them on the watch? 2- The icon of the apps are sometimes loaded incorrectly. For example, if I run app ...

pegetive by Base Runner
  • 896 Views
  • 7 replies
  • 0 kudos

Feature request: easily track the result of peerSocket send

I want to be resliient with the data I send from/to device and companion.But there is no easy way of track if the message was sent in a lapse of time, because:* The only communication we have is with callbacks, not promises.* The error event is not c...

Sergius by Base Runner
  • 701 Views
  • 2 replies
  • 2 kudos

fitbit app logging incorrect nutrition facts

I scanned the upc on my protein RTD and there’s some discrepancy in the nutrition facts between what’s printed on the bottle and what’s logged in the app and in one case, the fluid ounces are even different. Check out the diffences in the numbers of ...

406312C5-6E09-4576-8B90-DA274A175E17.png 96E3AC5C-0A90-4536-A93C-A89A02374D04.jpeg

wakeInterval vs. setInterval

I'm working on a clock face and I'm getting weather info to display. So far, I see two ways of "waking up" to refresh the weather:1) in app\index.js, use setInterval. This calls a function that sends a message to the companion.2) in companion\index.j...

Charge 3 NFC Capabilities

I want to get a special edition Charge 3 because it has an NFC chip and I want to start some Arduino projects that read a unique ID (fitbit hardware ID?) or some data from the NFC chip and trigger some actions... if I buy all the hardware I need and ...

Valid devices to test applications

In this post: https://community.fitbit.com/t5/SDK-Development/Companion-not-starting-in-simulator/m-p/3239171/thread-id/7771, I learned that you can't combine a physical device and the simulator.  Are there other combinations that are not valid? I ge...

Bug

I am experiencing an error when running the command npx fitbit-build. Here is the error.23:20:50][error][app] TypeError: Cannot read property 'minify' of undefined

keeratg by Jogger
  • 733 Views
  • 5 replies
  • 2 kudos

SVG system-events attributes

Hi, Is there any documentation on the "system-events" SVG attribute?I see it is used in a few examples across the docs, but it is never explained what it does and why you should use it.Thanks!