rajeshnarayanan-mcoe opened a new issue #290: URL: https://github.com/apache/cordova-plugin-file-transfer/issues/290
# Bug Report ## Problem We are using file transfer plugin 1.6.3 for our hybrid ionic app. When we try to download a file from a redirect PDF URL , it doesn't download on the Android platform while it works from the ios platform. Upon investigation we found that in IoS, the url we use to download creates a cookie, its validated for authentication and redirects to the correct PDF url, while the same url isnt creating a cookie so the url is denied access to the redirect url. ### What is expected to happen? When we use the redirect url for downloading PDF in Android, it should create a cookie (basically like a browser) and sent it along with the redirect URL. ### What does actually happen? In Android , the cookie isnt getting set for the redirect URL, so the request is denied. ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> ### Environment, Platform, Device Issue is in Android Platform ### Version information Ionic version: 5.4.13 Android : 8 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
