> Lost your saved data too.. oh well, I can't lose my user's saved data, there will be a crap-storm as they find their game resets after an update.
>
If you're up to the challenge, you could create an online facility for storing that WebStorage data, or at least the most critical bits. Release a CJS-based update that syncs local storage online, then release an XDK update that pulls down that data and loads it into local storage.
It'd probably just be a matter of pushing data into a SQL database through Ajax and PHP, much like how ArcadeEd's online high score table tutorial works. The only hurdle is that you'd need a unique identifier for each user to keep their data together while it's online. I'd suggest generating a string of numbers and letters, then just say to the user "Hey, there's an update that's going to massively improve your user experience; if you want to keep your data, write down this string carefully and re-enter it in the updated version".
It's a long, laborious, possibly messy process, but if in the end you have a more stable and overall better product, I think it'd be worth the effort.
Thanks. I thought about doing a similar solution, but it will require user input and from my experience with users on the Store, its just not going to happen and many of them will find they suddenly update and lose all their data.
Not all users auto update to the latest build, a lot of them are lagging 1, 2 or even 3 updates behind. If they suddenly update later to the XDK build, their current progress resets. You can imagine the fury.
It'll have to be a 2nd edition, like Star Nomad Elite. One of the great feature of XDK is the memory management and fast load times, it means I can put in PC/MAC high resolution art on the XDK build, in fact, I've already tested it and it ran very well on a lot of devices! I'll have to update the app description to point new users to the Elite version and overtime, phase out the CJS version.
Anyway, for those who don't know the problem, now its out there. Updating a different compiled game will reset Webstorage.