cozy / cozy-libs

Libraries used to build Cozy products and tools.
MIT License
7 stars 12 forks source link

feat(cozy-viewer): Use new `downloadFile()` method from cozy-client #2581

Closed Ldoppea closed 2 months ago

Ldoppea commented 2 months ago

In cozy/cozy-client#1518 we implemented a new downloadFile() that allow to download files as before in a browser, but will download files through cozy-intent when hosted in the Flagship app

This commit will replace the old way to download files with the new one using downloadFile()

BREAKING CHANGE: downloadFile() method has been removed from cozy-viewer/src/helpers.js. Use the one from cozy-client/dist/models/file instead

BREAKING CHANGE: cozy-viewer now requires cozy-client >= 49.0.0 (used for offline support)


Related PRs:


TODO: