bitbox-wallet-app icon indicating copy to clipboard operation
bitbox-wallet-app copied to clipboard

ios: fix exporting files (CSV exports, log export, notes export)

Open benma opened this issue 1 year ago • 1 comments

Similar to Android, we set ExportsDir() to "" and let the backend environment getSaveFilename() construct the full path.

Mobile handling of the dirs/files is a big hack and works on implicit assumptions, e.g. that getSaveFilename() is always called with filepath.Join(exportsDir, filename), which is only the filename on mobile as ExportsDir() returns "". This should be cleaned up, but for now iOS is made to behave like Android in this regard.

benma avatar Sep 27 '24 20:09 benma

Ping @Beerosagos in case you missed it

benma avatar Oct 10 '24 08:10 benma