I am tying to implement an attachment functionality through MDK for an offline app. I have already added the option to create an attachment and send it to the backend using Action.Type.ODataService.CreateMedia action.
My requirement is to show the attached files and also to fetch any attachments for an order in SAP, and show it in the app.
Should I use DownloadMedia action for it? What is the difference between Media and Stream? How can I fetch multiple attachments (images) from the backend and save it in the offline store? What controls should I use to display it again in the app?
I could not find helpful documents for this. Any guidance is much appreciated.