Sqlite or indexedDB?

@ionic/storage use both localStorage and indexedDB to saves data. But it is also stated that localStorage may be deleted by the OS, suggesting that the alternative should be using sqlite.

Searching around google, i found there is little to no suggestion to simply use indexedDB instead of sqlite for ionic apps… so my question is, is simply using indexedDB possible for ionic apps or is there limitation for indexedDB compare to using sqlite?