It appears that the Venu 2 Plus, or any device with a graphics pool for that matter, can't retrieve large images using Storage.getValue(). (I haven't tested non-graphic pool devices, as they can't download images that big). The image in question is 368165 bytes (368.17 kB).
My app (Maps4Garmin) allows users to store their maps for offline usage later using Storage.setValue(). Every device, including the Venu 2 Plus can store its map image. The problem is retrieving it. While all the other watches can retrieve the image as expected, the Venu 2 Plus throws an out of memory error.
I figured out part of the problem: the Venu 2 Plus can download bigger images, thus, the Storage is bigger. For example, when testing with an image 256165 bytes (256.17 kB), Storage.getValue() works fine. It's only when the image is large that I get this error.
The problem occurs using SDK 4.0.10 (haven't tested others), in the sim and on the device (according to ERA).
So, is there a workaround for this bug? Has anyone else experienced this problem?
I hope that this is an easy fix. If I can provide any additional information, please let me know.
Thanks!
Lance