Can you provide a simple example of how to set a variable via Tiggr.persistentStorage?
Just as a quick test, I'm trying to implement a counter that increases each time the application is run.
var count = parseFloat(Tiggr.getItemFromStorage('count'));
if (isNaN(count)){ count = 0;}
alert(count);
Tiggr.Storage('count',count+1);
I also tried Tiggr.persistentStorage('count',count+1); with no luck either. Hopefully you can point me in the right direction.
Thanks.