Application.Storage data in Simulator - not showing double values

Former Member
Former Member
Have met small problem - in simulator -> Edit Persistent Storage -> Edit Application.Storage data
Values which are Double are not shown (empty fields) - yet I can read them correctly from within the app.

Could you please take a look? Not a big issue but worth of checking…

Thanks!
  • Former Member
    Former Member
    I dug into this today and it looks like this isn't fully supported yet with all of our tools. I'm going to update our documentation so we don't confuse people. How are you defining your doubles by the way? I had to do some trickery.

    Thanks,
    - Coleman
  • Former Member
    Former Member
    Thanks for looking into that!
    This is what I do:

    var latLon = info.position.toDegrees();
    var lat = latLon[0];
    var lon = latLon[1];
    Storage.setValue(MeteoView.LAT,lat );
    Storage.setValue(MeteoView.LON,lon );

  • Former Member
    Former Member
    Hi,

    Thanks for looking into that - the way I run into that is quite simple - I get info.position.toDegrees and then I'm storing both values from array separately using - Storage.setValue

    Thanks!
    Stan