01-13-2020 08:18
01-13-2020 08:18
Hi all,
I have a clockface and I need to update an image. I get the image from our webserver, unfortunately when I save the new image to the private data I used the same name ; the clockface does not update the image it has in its cache.
Is there a way to get the clockface to use this new image without using a different name in the private data file?
Geoff
Yes I know I could just same with a different name, but hoping I can just invalidate the clock data
Works:
Does not work
Answered! Go to the Best Answer.
Best Answer01-14-2020 10:37
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
01-14-2020 10:37
This is a known issue, but we do have a fix planned for this in the future. In your working example, don't forget to unlink the previous file, or you will eventually run out of storage space.
https://dev.fitbit.com/build/guides/file-system/#deleting-files
Best Answer01-14-2020 10:37
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
01-14-2020 10:37
This is a known issue, but we do have a fix planned for this in the future. In your working example, don't forget to unlink the previous file, or you will eventually run out of storage space.
https://dev.fitbit.com/build/guides/file-system/#deleting-files
Best Answer07-16-2020 00:56
07-16-2020 00:56
Do you have any news on this?
I'm running in the same issue.
Best Answer07-16-2020 19:19
07-16-2020 19:19
@Schete wrote:Do you have any news on this?
I'm running in the same issue.
Try using an intermediate image file. Set the href to point to a small black image momentarily, then point it back to your original file.
07-16-2020 22:02
07-16-2020 22:02
Thank you, nice workaround.
Best Answer01-20-2022 09:02
01-20-2022 09:02
I am also running into the same issue.
Setting the href to an intermediate image does not seem to fix the issue.
I've been trying all sorts of things to try to get this to work but have run out of ideas.
Are there any other possible solutions for this?
Best Answer