In the docs the browser is listed as supported platform of SecureStorage.
But when I add the following code to my app, it won’t work anymore and an error is thrown:
Can't find variable : Cordova
let secureStorage: SecureStorage = new SecureStorage(); secureStorage.create('my_store_name') .then( () => console.log('Storage is ready!'), error => console.log(error) );
Are the docs wrong or is SecureStorage broken?