03-16-2023 18:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-16-2023 18:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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

03-16-2023 18:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


03-16-2023 18:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Possibly. 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).
Gondwana Software

03-19-2023 22:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-19-2023 22:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I'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.

03-19-2023 23:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-19-2023 23:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I 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.

03-19-2023 23:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-19-2023 23:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
PS. This is more authoritative than my dodgy records.

06-01-2024 01:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-01-2024 01:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
if you are using the fitbit simulator, got to 'settings' tab, there you can change the device type to vulcan or atlas based on the actual fitbit watch model that you use.

