07-20-2021 23:49 - edited 07-21-2021 00:25
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
07-20-2021 23:49 - edited 07-21-2021 00:25
The change to add SDK 6.0 support brought with it a forced change from 4.2 to 4.3. [4.2 no longer available]
Unfortunately 4.3 is no longer compatible with 4.2 code.
Can we please have instructions as to what has changed in 4.3?
Note: Code that worked in 4.2 and 5.0 now only works in 5.0.
Author | ch, passion for improvement.
07-20-2021 23:58
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
07-20-2021 23:58
What errors are you getting?
If SDK 4.3 depends on the new version of rollup, import statements may need to be updated. I'd be a bit surprised, but it's not impossible.
07-21-2021 00:08 - edited 07-21-2021 00:29
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
07-21-2021 00:08 - edited 07-21-2021 00:29
It seems the imports do need updating but aren't compatible with 5.0 and don't work the same.
Can we have 4.2 back to be compatible with 5.0?
import * fs from "fs" [ 5.0 and 6.0 form] no longer works, has to be changed to
import fs from "fs" for it to run [which makes it incompatible with 4.2, 5.0 and 6.0]
Then the file structure is no longer the same, so the program fails.
Author | ch, passion for improvement.
Best Answer07-21-2021 04:21
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.
07-21-2021 04:21
Imports need to be changed for SDK 6 (Versa 3 and Sense). They should not be changed for SDK 4.3 (legacy devices).
Best Answer07-25-2021 09:55
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
07-25-2021 09:55
import * fs from "fs"
works in 4.2, 5.0 and 6.0 form but no longer works in 4.3
Author | ch, passion for improvement.
Best Answer07-25-2021 15:34
07-25-2021 15:34
Hello;
I just posted about this in a separate thread as I did not see this one until now (Mods, feel free to delete the other post if it seems to make sense).
The fix for this may be simple.
Instead of...
import * fs from "fs"Try..
import fs from "fs";I am still uncertain if this change has further repercussions (hence the topic of the other thread), but I am able to read from file system and use document.getElementById()
So, my other concerns may be moot.
07-26-2021 09:25
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.
07-26-2021 09:25
Sorry about this, we're working to resolve the issue where the wrong version of Rollup is used in SDK 4.3.
Best Answer07-27-2021 04:12
07-27-2021 04:12
any updates? thanks
08-02-2021 05:32
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
08-02-2021 05:32
@JonFitbit Is there a long wait to get the 4.3 Rollup problem fixed?
Author | ch, passion for improvement.
08-04-2021 19:31
08-04-2021 19:31
Maybe this link will help?
Best Answer08-06-2021 18:44
08-06-2021 18:44
Hi Jon, any update on the rollup issue in 4.3?
It still appears not to work.
Best Answer08-10-2021 06:34
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
08-10-2021 06:34
@JonFitbit Any news about when 4.3 might get sorted?
Author | ch, passion for improvement.
08-11-2021 07:22
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.
08-11-2021 07:22
4.3.1 and 6.0.1 SDK's are out now, fixing the weather and wildcard import issues.
Best Answer08-11-2021 08:23
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
08-11-2021 08:23
@JonFitbit Is there an update for Studio? building with 4.3 or 4.3.1 generates an Internal error during build. Guru Meditation error.
A new version of the simulator was proposed though.
Author | ch, passion for improvement.
Best Answer08-11-2021 09:01
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.
08-11-2021 09:01
Both have been updated.
Best Answer08-11-2021 10:58
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
08-11-2021 10:58
No prompt to update Studio appeared, but after restarting the browser it will now build, though still only shows 4.3 for SDK version. Should it show 4.3.1?
After rebuilding the same project as in production it fails to run with out of memory.
Comparing the two built index.js built files the newer has a larger size and the generated code is substantially different.
I'm wondering if it is being built with 4.3.1 or the old 4.3?
Author | ch, passion for improvement.
Best Answer08-11-2021 13:01
08-11-2021 13:01
I had a prompt to update studio but it still shows 6.0 and 4.3 . I'm kinda hoping the studio has not been updated as the weather now causes an error within the companion, so that no longer works. Fingers crossed they have just forgot to update the studio.
Best Answer08-11-2021 13:13
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
08-11-2021 13:13
Thanks @TKCMuzzer I tried building with 4.3.5, it didn't complain, so it looks like it's not checking the last digit.
So could still be on 4.3 despite 4.3.1 being announced.
Author | ch, passion for improvement.
Best Answer08-12-2021 23:18
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
08-12-2021 23:18
@JonFitbit - "Both have been updated"
Does that mean that Studio should show 4.3.1 as the version of SDK, or does it still only show 4.3?
I didn't get any prompt to upgrade Studio. Is there a way to see if it is the current version?
Author | ch, passion for improvement.
Best Answer