Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background Downloading doesn't work on iOS #531

Open
Akash-Tapadia-DFT opened this issue Dec 16, 2024 · 0 comments
Open

Background Downloading doesn't work on iOS #531

Akash-Tapadia-DFT opened this issue Dec 16, 2024 · 0 comments

Comments

@Akash-Tapadia-DFT
Copy link

Describe the bug
Download is interrupted when user switches to another app (makes my app in background). It reports connection closed Exception on the file server. But on Android it works well when the app is in background.

System info

  • affected HTTP plugin version: 3.3.1
  • affected platform(s) and version(s): iOS 18.1
  • affected device(s): All iphone devices
  • cordova version: 10.0.0
  • cordova platform version(s): 7.1.1

Are you using ionic-native-wrapper? Yes

Minimum viable code to reproduce
If applicable, add formatted sample coding to help explain your problem.

e.g.:

      this.httpNative.sendRequest(
        url,
        {
          method: 'download',
          responseType: 'blob',
          timeout: 60000,
          filePath: path
        },
      ).then(response => {
        resolve(response);
      }, (err) => {
        reject(err);
       }

Does this plugin support background file transfer on IOS ? and if it supports, what I have done wrong ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant