You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Command or Code
Environment, Platform, Device
Issue is in Android Platform
Version information
Ionic version: 5.4.13
Android : 8
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
The text was updated successfully, but these errors were encountered:
rajeshnarayanan-mcoe
changed the title
URLs not setting a cookie while in Android platform while it sets it in IoS
File Download Redirect URLs not setting a cookie while in Android platform while it sets it in IoS
Nov 11, 2020
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
Command or Code
Environment, Platform, Device
Issue is in Android Platform
Version information
Ionic version: 5.4.13
Android : 8
Checklist
The text was updated successfully, but these errors were encountered: