title: Persistent data with Cordova on iOS
body: <p>I'm developing a leaderboard for my game (written in JS) and I need to locally store some user's infos between more .html and .js pages, just like the username for the login and bestscore.</p>
  
  <p>I did it using localStorage and on the desktop browser it worked with no issue at all, same for the Android app wrapped with Cordova. However, testing it in iOS resulted in localStorage wiped out on every app restart! Googling it out I decided to switch to localForage. Again, Android and Desktop (Chrome on Mac) works just fine but on iOS datas get wiped out when app is closed from the multitasking. I tried both WEBSQL and INDEXEDDB as localForage drivers. I tested on two different iPhones (iOS 10.3.2 and iOS 10.3.3) and both were NOT running out of memory. I use CocoonJS to wrap the files. Any help please? Don't absolutely know where this issue is coming from. Thank you in advance.</p>