A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
remove unresolved exports
ammarahm-ed871bc5c933a3
diff --git a/apps/mobile/src/utils/Storage.js b/apps/mobile/src/utils/Storage.jsindex 24b9700da..6a4a26b5a 100644--- a/apps/mobile/src/utils/Storage.js+++ b/apps/mobile/src/utils/Storage.js@@ -67,6 +67,7 @@ async function deriveCryptoKey(name, data) {authenticationType:Keychain.AUTHENTICATION_TYPE.DEVICE_PASSCODE_OR_BIOMETRICS,accessControl: Keychain.ACCESS_CONTROL.DEVICE_PASSCODE,+ rules:Keychain.SECURITY_RULES.AUTOMATIC_UPGRADE});return credentials.key;@@ -78,7 +79,12 @@ async function deriveCryptoKey(name, data) {async function getCryptoKey(name) {try {if (await Keychain.hasInternetCredentials('notesnook')) {- let credentials = await Keychain.getInternetCredentials('notesnook');+ let credentials = await Keychain.getInternetCredentials('notesnook', {+ authenticationType:+ Keychain.AUTHENTICATION_TYPE.DEVICE_PASSCODE_OR_BIOMETRICS,+ accessControl: Keychain.ACCESS_CONTROL.DEVICE_PASSCODE,+ authenticationPrompt:{cancel:null}+ });return credentials.password;} else {return null;@@ -143,7 +149,6 @@ export default {clear,encrypt,decrypt,- deriveKey,getAllKeys,getRandomBytes,checkAndCreateDir,