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
fix backup and exporting
ammarahm-ed505611659dcd
diff --git a/apps/mobile/src/services/backup.js b/apps/mobile/src/services/backup.jsindex a020d7138..d2ccb9599 100644--- a/apps/mobile/src/services/backup.js+++ b/apps/mobile/src/services/backup.js@@ -160,9 +160,9 @@ async function run(progress) {} else {backupFilePath = await ScopedStorage.writeFile(androidBackupDirectory.uri,+ backup,backupName,'nnbackup/json',- backup,'utf8',false);diff --git a/apps/mobile/src/services/exporter.js b/apps/mobile/src/services/exporter.jsindex 5835cf07b..99603ce6e 100644--- a/apps/mobile/src/services/exporter.js+++ b/apps/mobile/src/services/exporter.js@@ -352,9 +352,9 @@ async function saveToPDF(note) {if (Platform.OS === 'android') {fileUri = await ScopedStorage.writeFile(androidSavePath,+ res.base64,fileName,'application/pdf',- res.base64,'base64',false);@@ -387,9 +387,9 @@ async function saveToMarkdown(note) {if (Platform.OS === 'android') {fileUri = await ScopedStorage.writeFile(path,+ markdown,fileName + '.md','text/markdown',- markdown,'utf8',false);@@ -422,9 +422,9 @@ async function saveToText(note) {if (Platform.OS === 'android') {fileUri = await ScopedStorage.writeFile(path,+ text,fileName + '.txt','text/plain',- text,'utf8',false);@@ -463,9 +463,9 @@ async function saveToHTML(note) {if (Platform.OS === 'android') {fileUri = await ScopedStorage.writeFile(path,+ html3,fileName + '.html','text/html',- html3,'utf8',false);