08-31-2021 23:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-31-2021 23:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Getting Error
Companion: TypeError: Illegal invocation
at
weather.getWeatherData()
This only happens when I run this on actual device, but works on simulator. What is going wrong here? Is weather API not stable?
09-09-2021 09:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-10-2021 21:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-10-2021 21:04
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Amazing such a big bug but no one is bothered at fitbit to look into it

09-10-2021 21:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-10-2021 21:15
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I think the weather code was tweaked in the most recent SDK versions, released in the last couple of days. Make sure you're using the latest.
Gondwana Software

09-10-2021 23:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-11-2021 01:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-11-2021 01:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I think they're up to 4.3.2 and 6.0.2 now.
Gondwana Software

09-11-2021 01:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-11-2021 01:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-11-2021 01:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-11-2021 01:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
In CLI, it depends what you've got in package.json, and you'd need `npm i` or equivalent.
I don't know about Studio; I assume it automatically uses the most recent minor version.
Gondwana Software
09-11-2021 03:37 - edited 09-11-2021 03:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-11-2021 03:37 - edited 09-11-2021 03:40
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@Gondwana - thanks, tried Studio, it gave a popup of an update, but still can't rebuild old SDK projects. The generated code now runs out of memory on anything pre Versa 2.
Real shame as that stops support and improvements for projects on older watches already.
Any idea how to get around that?
Obviously will have to abandon Studio which is also a shame.
Is it possible to get the same old compact code with CLI somehow?
Author | ch, passion for improvement.

09-11-2021 14:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-11-2021 14:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
CLI lets you select any SDK version, I think.
Gondwana Software
