Download Action with download progress bar in device

Hi All,


How to use Android permission-storage and display download progress bar in notification when you want to download a file?


Thank You :)

Rizqi Ananda wrote:

Hi All,


How to use Android permission-storage and display download progress bar in notification when you want to download a file?


Thank You :)

Hello Rizqi

You can use the file plugin's save file method to save files into your phone.

You will have to specify filename with the path to where you want to save the fily, and filetype

Ex: "downloads/file.pdf"

For progress bar, you need to put the css in block and use that block in your screen accordingly

Below is the css:  and image

.overlayContainer {    height: 15em;    opacity: 0.7;    z-index: 1000;    position: fixed;    background: white;    margin-top: 40%;}.phone.landscape .overlayContainer {    margin-top: 0% !important;   }.tablet.landscape .overlayContainer {    margin-top: 15% !important;   }.FullPageContainer{    position: fixed;    width: 100%;    height: 100%;    opacity: 1;    z-index: 999;    background: linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) );}