Localstorage or sqlite

i am developing an application that stores users data locally please any help on that i tried using cordova sql storage and its not working any post on this particular topic will be welcome

Only use localstorage if you can handle the data getting vaped out from under you at any time.

so would u advise me to use localstorage…just storing the title and the description of a task and then displaying them