08-23-2018 06:06 - edited 08-23-2018 06:06
08-23-2018 06:06 - edited 08-23-2018 06:06
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/
09-05-2018 10:17
09-05-2018 10:17
If you update to @Fitbit/sdk-cli version 1.0.1 this should be fixed.
09-05-2018 13:31
09-05-2018 13:31
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.
09-05-2018 14:57
09-05-2018 14:57
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.
09-05-2018 16:14
09-05-2018 16:14
Anything but an interactive session lol. Think CI!
09-06-2018 13:53
09-06-2018 13:53
That's a separate issue which requires an update to @Fitbit/sdk which we're still working on.
09-07-2018 14:29 - edited 10-11-2018 12:45
09-07-2018 14:29 - edited 10-11-2018 12:45
+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!
09-25-2018 14:44 - edited 09-25-2018 14:50
09-25-2018 14:44 - edited 09-25-2018 14:50
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.