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
My app logs into a backend with a session cookie.
For downloading a file from that backend, i thought about opening that file's uri in a new browser window, but had to realize that with both adding its domain to allowNavigation and opening the url with the Capacitor Browser Plugin doesn't carry the session over to that request, so that the user cannot download the file.
What is the best approach to make a download request with a session cookie that was set within the capacitor app?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
My app logs into a backend with a session cookie.
For downloading a file from that backend, i thought about opening that file's uri in a new browser window, but had to realize that with both adding its domain to
allowNavigation
and opening the url with the Capacitor Browser Plugin doesn't carry the session over to that request, so that the user cannot download the file.What is the best approach to make a download request with a session cookie that was set within the capacitor app?
Beta Was this translation helpful? Give feedback.
All reactions