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

FileDownload Local Network Access issue

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

Description

## Bug Report

### Plugin(s)
@capacitor/filesystem

### Capacitor Version

Latest Dependencies:

@capacitor/cli: 5.2.2
@capacitor/core: 5.2.2
@capacitor/android: 5.2.2
@capacitor/ios: 5.2.2

Installed Dependencies:

@capacitor/cli: 5.2.2
@capacitor/core: 5.2.2
@capacitor/android: 5.2.2
@capacitor/ios: 5.2.2

### Platform(s)
iOS

### Current Behavior

When starting a download for the first time (via. Filesystem.downloadFile) there's a prompt to enable local network access - when accepting it, the download fails.
Restarting the process and it runs without issue.

### Expected Behavior

A way to check the state of local network access permission or requesting it?

### Code Reproduction
![image](https://github.com/ionic-team/capacitor-file-transfer/assets/83697697/c6f96f81-581e-49e9-af9b-a3c63808a2ec)

### Other Technical Details
iPhone 13 Pro - iOS 16.3.1

### Additional Context
https://github.com/capacitor-community/http/issues/241 - sounded like same issue?

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.