Say the cordova app has a div element "text" built-in.
<div id="text"></div>
Now during app execution, if value was written to the div using js
document.getElementById('text').innerHTML = "123456";
How long will the data survive? Until app close? Until device boot?
And how safe is the data stored? Can any other app access this data?
On deploying your code from cordova to android device, following observations are made -
Read more about Security in Cordova Security Guide .