mibrito707 / cordova-plugin-secure-storage-echo

Secure storage plugin for Apache Cordova
MIT License
73 stars 73 forks source link

SecureStorageEchoObject create storage entry always in error #68

Closed jqr91 closed 3 years ago

jqr91 commented 3 years ago

ERROR SecureStorageEchoObject _objectInstance : SecureStorage service : "myapp" __proto__ : Object __proto__ : Object

in Android 8.1 (API 27) the init of create storage entry always in error. This is my code:

this.secureStorage.create('mydrive') .then( (storage: SecureStorageEchoObject) => { console.log('storage init'); this.storage = storage; this.storage.keys().then(keys => { console.log('keys' + keys); } }); }, (error) => { console.log('ERROR', error); //resolve(); });