04-26-2019 17:49
04-26-2019 17:49
Hello all,
I downloaded an app from GitHub and using Fitbit studio got it on my Fitbit ionic. worked just fine. Now I want to make some modifications to this app (color and text) and uploaded to my Fitbit ionic as ANOTHER app. So I started a new project in Fitbit studio, copy-pasted all the same files from the previous ones with my modifications. the problem is that the new app overwrites the previous. I want to have both apps on my Fitbit. how can this be done? does it have anything to do with the App UUID? Any help in the right direction would be greatly appreciated. Thank you in advance.
best regards,
SNK
Answered! Go to the Best Answer.
04-26-2019 18:02
04-26-2019 18:02
You've pretty much nailed it.
appUUIDs need to be unique.
I don't know exactly how to effect this in studio, but I think it would involve getting access to package.json (perhaps by renaming the file so it becomes editable as text), and deleting the appUUID attribute. I suspect studio would automatically create and assign a new (unique) UUID when it tries to rebuild.
04-26-2019 18:02
04-26-2019 18:02
You've pretty much nailed it.
appUUIDs need to be unique.
I don't know exactly how to effect this in studio, but I think it would involve getting access to package.json (perhaps by renaming the file so it becomes editable as text), and deleting the appUUID attribute. I suspect studio would automatically create and assign a new (unique) UUID when it tries to rebuild.
04-26-2019 19:52
04-26-2019 19:52
Thank u so much for a super fast reply, worked like a charm. I simply deleted the UUID attribute in the package.js saved it dumped it back in the studio and the studio created a new one and now I have two apps with the same stuff but different display structures so I can compare. Just a note: Initially the front logo (image didn't pop up), I had to restart my Fitbit device, then it worked fine (didn't need to do that for the first app, only with the newly created UUID app). Thanks again,
cheers
SNK
04-26-2019 20:03
04-26-2019 20:03
No worries.
That logo (icon) problem is a consequence of caching on the watch. It usually corrects itself automatically after a while, but your solution guarantees it. 🙂