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:
cozy/cozy-client#1518
cozy/cozy-flagship-app#1237
TODO:
[x] Update cozy-client preedDep after cozy/cozy-client#1507 is merged
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 appThis commit will replace the old way to download files with the new one using
downloadFile()
BREAKING CHANGE:
downloadFile()
method has been removed fromcozy-viewer/src/helpers.js
. Use the one fromcozy-client/dist/models/file
insteadBREAKING CHANGE: cozy-viewer now requires cozy-client >= 49.0.0 (used for offline support)
Related PRs:
TODO: