ionic-team / ionic-team/capacitor-file-transfer

Add cookies to downloadFile method

Open
#23 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11
Forks
10
PR merge metrics
No merged PRs in 30d

Description

## Feature Request

### Plugin
Filesystem

### Description
we download a file from our server. This server checks if the user that downloads the file is authorized for this file by checking the session. Download file does not send the session cookie. Hence we can't use downloadFile to download the file

### Platform(s)
Android, web and iOS

### Preferred Solution
Add the cookie to the request like the nativeHttp plugin does

### Alternatives
I have written the code myself, using a link and using writeFile etc

### Additional Context
n.a.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.