Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Today is another exciting landmark in the evolution of the Fitbit OS Software Development Kit (SDK). We’re proud to announce a major enhancement: an entirely new way to build apps and clock faces for Fitbit OS. We have created a command-line interface that is compatible with macOS, Windows, and Linux, and allows developers to build and install Fitbit OS projects while using their favorite code editors, and their preferred version control system. This update takes Fitbit OS app development beyond Fitbit Studio for the very first time.
https://dev.fitbit.com/blog/2018-08-23-cli-tools/
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
I just updated to CLI 1.0.1 and still see run-time errors and console.log lines in terms of build code rather than source, but perhaps this issue wasn't addressed in 1.0.1.
Great stuff! Really enjoying now when using favorite IDE and linter, so sweet! Well done!
+1 to the suggestion of `npx fitbit run` command which would do build and install in the same step. Even better would be if `npx fitbit <cmd>` would run in a command mode and not in a shell mode, so some commands could be hooked up on hotkeys.
Also, +1 to the problem with logs location showing not in original source, but in transpiled (?) code. Even on 1.0.1, if that matters.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
+1 to getting the source line numbers fixed for run time errors.
EDIT: With very limited testing, this seems to be fixed in version 2.0 of the SDK.
Thanks!
Hi there! I'm having troubles authenticating the CLI; I get a browser opening on which I can login, but I get a redirect URL back to 127.0.0.1:13579, which times out. Is there another way of adding auth to my terminal?
Update: Fixed! Needed elevated privileges.