Skip to content

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

fix storage permission on ios

ammarahm-ed750b3330eab1
diff --git a/apps/mobile/src/utils/Storage.js b/apps/mobile/src/utils/Storage.js
index a1dfb8324..964c9779a 100644
--- a/apps/mobile/src/utils/Storage.js
+++ b/apps/mobile/src/utils/Storage.js
@@ -132,6 +132,7 @@ async function getRandomBytes(length) {
}
async function requestPermission() {
+ if (Platform.OS === "ios") return true;
let granted = false;
try {
const response = await requestMultiple([