Hi,
I get since several weeks IQ errors via ERA when I access Rez in background. It worked quiet some time but suddenly it stopped working without doing changes on my side. I believe it has something to do with firmware updates. I use the very same code in glance view as well as in the normal view and have no problems there. The code which crashes is here:
function resolveDescription(d) { if (d == :walk) { return WatchUi.loadResource( Rez.Strings.walk ); } if (d == :move) { return WatchUi.loadResource( Rez.Strings.move ); } if (d == :inPlan) { return WatchUi.loadResource( Rez.Strings.inPlan ); } if (d == :goalReached) { return WatchUi.loadResource( Rez.Strings.goalReached ); } return WatchUi.loadResource( Rez.Strings.run ); }
It creates the message which shall be given to the user if a certain condition is valid. The strings are scoped as background:
<string id="walk" scope="background">WALK</string> <string id="run" scope="background">RUN</string> <string id="inPlan" scope="background">IN PLAN</string> <string id="move" scope="background">MOVE</string> <string id="goalReached" scope="background">GOAL REACHED</string>
Maybe I should note here that the default strings are overwritten by further languages (german and spanish) which are scoped as background as well. But I could imagine, that Garmin doesn't test all those specific environments if new firmwares are released.
Are there any problems known regarding this topic?