[ad_1]
I am creating ios and net app. For storing credentials utilizing encrypted storage, and in net I am utilizing native storage for now.
However on the time of compiling net app throws error.
rnw_blogpost.bundle.js:5540 Uncaught Error: RNEncryptedStorage is
undefined at eval (EncryptedStorage.js:1:862) at
Object../node_modules/react-native-encrypted-storage/lib/module/EncryptedStorage.js (rnw_blogpost.bundle.js:1766:1) at webpack_require
(rnw_blogpost.bundle.js:5537:33) at fn
(rnw_blogpost.bundle.js:5736:21) at eval (index.js:1:389) at
Object../node_modules/react-native-encrypted-storage/lib/module/index.js
(rnw_blogpost.bundle.js:1776:1) at webpack_require
(rnw_blogpost.bundle.js:5537:33) at fn
(rnw_blogpost.bundle.js:5736:21) at eval (encrypted-storage.ts:1:565)
at Object../src/util/encrypted-storage.ts
(rnw_blogpost.bundle.js:4098:1)
This is because of https://github.com/emeraldsanto/react-native-encrypted-storage/blob/grasp/src/EncryptedStorage.ts#L7
Is there any means, that in net I can deal with it.
[ad_2]
