Hi,
I was (naively ?) thinking with new SDK 9.1 I would be able to use the new API capabilities such as ScanCode in the SIM?
But when I launch a Debug session, the Sim shows v5.2 in the title-bar so when I have code wrapped with _If (Toybox has :ScanCode)_ ... which, as it is API 6, does not enter the block.
So how do we test new capabilities?
In a moment of madness I thought to change the compiler.json for the Edge 1040 -- which makes no difference in the Sim behaviour (did I miss something?) but when >Build for Device and sideload the PRG files on my Edge 1040 (that I know from the About pages has CIQ 6.0.0) ... the code does go into the block and after a bit of old-skool println debugging I could render the generated QR code.
But this hack seems not the correct way to deploy Release versions.
This is my first year of going through a major version bump; are there updates to the device JSON still to come or something else?
Image for attraction...
