How to download pdf file from amzon s3 bucket url

how to download pdf file into device from amazon s3 bucket url(like…c5ce

) in ionic 2
I have used method but not able to download anything just see the link is called again and again by the download method.Please help

in ionic v3 you can use

Storage.get('...', {download: true}) 

you will receive array of bytes that represent the image. Then object will need to be decoded.

  Storage.get('test.pdf', { download: true })
        .then(result => {
        .catch(err => {
            console.log('error axios');
1 Like

Thanks for reply .I will try this