Background
We integrated a web app in MS Teams mobile app. In some cases, we need to support users to download files, eg. images, PDFs, not only from URL but also blob resources.
The sample have been deployed on https://1434629.playcode.io/
The source code can be reviewed on https://playcode.io/1434629
Actual Behavior
Here is the conclusion of behavior under test:
platform\handler |
downloadFileV1 |
downloadFileV2 |
IOS |
Open file in app |
Open file in app |
Android |
Jump to external browser |
App crashed or no response |
On IOS, although users can see the file in app, they have no way to download file into local file system.
Expected Behavior
Download files by an in-app download manager like browser dose that allow users to interact with