I am working on PhoneGap mobile application and I am looking into Data Storage options.
My requirements:
1) small data needs (will never exceed or get even close to 5Mb limit)
2) able to port application to all major platforms with minimal tweaks (or best, none)
It seems to me that localStorage is my only option since it is supported by all platforms.
Questions:
1) Are there any alternatives to localStorage that are working on all platforms?
2) How reliable is localStorage or how persistent localStorage is?
3) If user deletes browser's cash or similar on the phone, would my data persist? Or, what could happen that localStorage data gets lost?
Thanks