title: Cordova LocalStorage persists data even after app uninstall
body: <p>I am using the LocalStorage in my cordova-based android app to store some information, but I have recently experienced something very weird. <strong>The LocalStorage persists even after I uninstall the app and install it again!</strong></p>
  <p>As far as I can understand, this should not be the case. Everywhere I read people say something like &quot;<em>LocalStorage is deleted when you clear app data from settings, or the app in uninstalled</em>&quot;.</p>
  <p>This has made me wonder a few things; How persistent is the LocalStorage? Does it persist between applications? Is it possible that I have some other cordova app installed which would be able to access the same LocalStorage?</p>
  <h2>More importantly; Is LocalStorage safe? Can I be sure no other application (or &quot;cracker&quot;) could access that information?</h2>
  <p>I have only seen this behaviour on android.</p>
  <p>This is not what I expect, or want, to happen. Is there some way I can force the data to be deleted when the user uninstalls the app?</p>
  <p>Some info is found here:</p>
  <p><a href="https://stackoverflow.com/questions/7750857/how-permanent-is-local-storage-on-android-and-ios">How permanent is local storage on Android and iOS?</a></p>
  <hr />
  <ul>
  <li>Android 6.0.1 (cyanogenmod on Samsung galaxy s3 GTI9300)</li>
  <li>Cordova version 6.3.0</li>
  <li>Using cordova-plugin-crosswalk-webview 1.7.2</li>
  <li>Cordova android platform version 5.1.1</li>
  <li>Plugin list:
  <ul>
  <li>com.keepe.cardio 1.0.9 &quot;CardIO&quot;</li>
  <li>custom.version.of.cordova.camerapreview 1.0.1 &quot;CameraPreview&quot;</li>
  <li>cordova-plugin-backbutton 0.3.0 &quot;Backbutton&quot;</li>
  <li>cordova-plugin-console 1.0.2 &quot;Console&quot;</li>
  <li>cordova-plugin-crosswalk-webview 1.7.2 &quot;Crosswalk WebView Engine&quot;</li>
  <li>cordova-plugin-customurlscheme 4.2.0 &quot;Custom URL scheme&quot;</li>
  <li>cordova-plugin-device 1.1.1 &quot;Device&quot;</li>
  <li>cordova-plugin-file 4.1.1 &quot;File&quot;</li>
  <li>cordova-plugin-file-transfer 1.5.1 &quot;File Transfer&quot;</li>
  <li>cordova-plugin-firebase 0.1.7 &quot;Google Firebase Plugin&quot;</li>
  <li>cordova-plugin-geolocation 2.1.0 &quot;Geolocation&quot;</li>
  <li>cordova-plugin-google-analytics 0.8.1 &quot;Google Universal Analytics Plugin&quot;</li>
  <li>cordova-plugin-inappbrowser 1.3.0 &quot;InAppBrowser&quot;</li>
  <li>cordova-plugin-ios-longpress-fix 1.0.1 &quot;iOS LongPress Fix&quot;</li>
  <li>cordova-plugin-network-information 1.2.0 &quot;Network Information&quot;</li>
  <li>cordova-plugin-statusbar 2.1.1 &quot;StatusBar&quot;</li>
  <li>cordova-plugin-vibration 2.1.0 &quot;Vibration&quot;</li>
  <li>cordova-plugin-webserver 1.0.3 &quot;CordovaWebServer&quot;</li>
  <li>cordova-plugin-whitelist 1.2.1 &quot;Whitelist&quot;</li>
  <li>cordova-plugin-x-socialsharing 5.1.1 &quot;SocialSharing&quot;</li>
  </ul>
  </li>
  </ul>