I am interested in starting to write apps for my Fitbit Ionic. I started with the basic clock face and when I tried to install the app, it gave me this error message:
No app package specified. Reloading ./build/app.fba.
Loaded appID:1052a776-a336-a19-bb3b-575674ee0a6d buildID:0x0d6fa9ea9e5627f2
App requires a device, connecting...
Auto-connecting only known device: Ionic
Install failed: App was built for atlas and vulcan, but connected device only supports higgs applications.
I then added "higgs" to the appTargets line in the package.json file. This did nothing. Even when I remove the other items in the line and leave only "higgs", I get this error.
[20:18:34][error][build] package.json One or more build targets was invalid: higgs
[20:18:34][error][build] package.json Error: Project configuration is invalid
Build failed with code: 1
Is there another file that needs modifying?
Thank you,
Alan
Best AnswerPossibly. Do you know what version of the SDK you're building for? It will need to be compatible with the firmware in the watch (and I don't know what the final version of the Ionic's firmware is).
Best AnswerI'm not sure. The devDependencies line in the package.json file says 6.1.0. Ionic uses OS 5, which I thought would be compatible with other newer watches.
Best AnswerI think this is the problem. I don't think Ionic received updates beyond about firmware 27.72.1.23, and maybe earlier. You can check the firmware version from the watch settings app or the Fitbit app on your phone.
27.72.1.23 is about OS 4.2.2 and about SDK 4.3, I think.
If your project is currently configured for SDK 6.1.0, it's probably using some filenames that aren't appropriate to the Ionic's SDK version.
Best Answer