I am testing my app in the browser and keep getting cordova_not_available for using it. The documentation states that a browser would use plain text local storage for mockup. Seems to fail for me or I am doing something wrong…
Follow the code examples that are given in the docs. I don’t know where you got this example from, but follow official examples. Blog posts and tutorials can go out of date fast.
I tried to create an instance of SecureStorageObject to circumvent the unnecessarily complicated two wrapped promises as it is shown in the tutorial. So I thought to keep only the SecureStorageObject as private attribute and work with that instead of opening the storage every time I want to write to it… Seems it does not work and I’ll have to stick to the tutorial…