diff --git a/backup.js b/backup.js index 2475c80027..cc4c327bc1 100644 --- a/backup.js +++ b/backup.js @@ -55,7 +55,7 @@ function bangleDownload() { showToast('Backup complete!', 'success'); if (typeof Android !== "undefined" && typeof Android.saveFile === 'function') { // Recent Gadgetbridge version that provides the saveFile interface - Android.saveFile("Banglejs backup.zip", "application/zip", content); + Android.saveFile("Banglejs backup.zip", "application/zip", btoa(content)); } else { Espruino.Core.Utils.fileSaveDialog(content, "Banglejs backup.zip"); }