08-31-2021 23:40
08-31-2021 23:40
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
09-10-2021 21:04
09-10-2021 21:04
Amazing such a big bug but no one is bothered at fitbit to look into it
09-10-2021 21:15
09-10-2021 21:15
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.
09-10-2021 23:40
09-11-2021 01:25
09-11-2021 01:25
I think they're up to 4.3.2 and 6.0.2 now.
09-11-2021 01:33
09-11-2021 01:39
09-11-2021 01:46
09-11-2021 01:46
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.
09-11-2021 03:37 - edited 09-11-2021 03:40
09-11-2021 03:37 - edited 09-11-2021 03:40
@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
09-11-2021 14:06
CLI lets you select any SDK version, I think.