03-20-2022 10:41
03-20-2022 10:41
My decision to purchased a Fitbit Sense was finalised by this statement in the title above that is advertised on the the Fitbit dev site! https://dev.fitbit.com/
I have installed and reinstalled, uninstalled and reinstalled so many times. The simulator will not accept a new project regardless of how many times I uninstall and reinstall. When I look for help in the community, The Fitbit representatives mention the same solutions that do not work. Make sure you are logged in! Change the certificate with cacert.pem etc.etc.... None of these solutions work, the tutorials and information is so limited, the Q&A appears to cover none of the answers that so many complain about on the dev community with a level of clarity. I have spent weeks on this and now give up. I am so disappointed.
03-20-2022 20:46
03-20-2022 20:46
Hi @Andre_o - it is most likely the certificate problem.
To be sure, when you start a watch in the simulator, and go to the settings tab are both options at the top ok?
If not then it could be that studio and the simulator are not logged in on the same account or the certificate has not been replaced after installing the simulator.
See the topic about SSL pinned at the top for how to resolve it.
Author | ch, passion for improvement.
03-22-2022 13:05
03-22-2022 13:05
Let's break this problem into pieces.
It may help us find the problem.
For me, I run studio on a chromebook and I run the simulator on a Windows computer. Not neccessarily on the same network.
03-25-2022 15:11
03-25-2022 15:11
Hi Guy,
Apologies for the delay, unfortunate Achilles injury.
Thank you very much for your response. I did previously replace the cacert.pem with no improvement. However, I uninstalled the simulator and started again, replacing the cacert.pem and I got a little further. Thank you.
03-25-2022 15:57
03-25-2022 15:57
Hi Mario,
Apologies for the delay.
I removed the login details above in case this is public. Since uninstalling and reinstalling the simulator again. Then replacing the cacert.pem, I managed to get connected this time.
Then I had a connection issue with both the Device Bridge debugger and the Companion Bridge debugger. Following this I had a series of errors that I tackled one by one. App cluster & Developer ID's, then other issues arose such as having to create companion/index.js and settings/index.jsx directories and files. Then there were build issues because there was nothing to say what needed to be in these files. I placed some JS in the files which improved the errors, but I am assuming that I need to import an npm package into the companion/index.js file such as settings, is this correct? If so, where do I find more information on importing packages and do they vary depending on whether its an app, a clock face etc?
Many thanks.
03-25-2022 22:13
03-25-2022 22:13
Hi @Andre_o - all you need is Studio and optionally OS Simulator, because with the device bridge on the watch you can also load directly to the watch with Run. (You may need developer bridge on the phone too if using a companion).
Sometimes the OS Simulator gets disconnected and it may be necessary to switch to a different watch in Settings. (And back again possibly)
Make sure you loaded the cert to all the watch model folders and that the type of watch you select matches the definition you choose in the packag.json file, for the SDK version and watch.
Author | ch, passion for improvement.
03-26-2022 05:44
03-26-2022 05:44
@Andre_o ,
Dit you take a look at Github?
There's a lot to get you going.
You' re having a lot of issues and asking a lot of questions .
I guess you 're able to connect your simulator to studio.