Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229615

401 when downloading file: Credentials (cookie) not sent in header

$
0
0

Hi Matt, thank you very much, that have helped.

So the problem is that the download is made from a native request, and the native layer doesn’t have the auth cookie, because the webview used by ios has trouble syncing cookies between the native layer and the webview.

We are now using cordova-plugin-fetch to make native http call in order to have cookies in the native layer, but that’s not ideal, because the cookie is different that the one from the webview.

Do you know any ways to sync cookies from the webview to the native layer without having to make http calls from the native layer? I have asked google with no luck yet…

Thanks


Viewing all articles
Browse latest Browse all 229615

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>