Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

Merge branch 'new-header-style' into get-random-values

Ammar Ahmed9836ef7ce3ce
diff --cc apps/mobile/src/utils/storage.js
index 657880f7c,6dc69600b..2a3cf7c5d
--- a/apps/mobile/src/utils/storage.js
+++ b/apps/mobile/src/utils/storage.js
@@@ -1,10 -1,10 +1,11 @@@
+import 'react-native-get-random-values';
+ import { isArray } from 'lodash';
+ import { Platform } from 'react-native';
+ import RNHTMLtoPDF from 'react-native-html-to-pdf';
import MMKVStorage from 'react-native-mmkv-storage';
+ import { generateSecureRandom } from 'react-native-securerandom';
import Sodium from 'react-native-sodium';
- import RNHTMLtoPDF from 'react-native-html-to-pdf';
- import {Platform} from 'react-native';
import RNFetchBlob from 'rn-fetch-blob';
-
export const MMKV = new MMKVStorage.Loader().initialize();
async function read(key, isArray = false) {