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

Dowload not starting if connected to no-internet WiFi (local network only) and airplane mode ON #991

Open
noisemaker00 opened this issue Jan 26, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@noisemaker00
Copy link

Describe the bug
I'm working on application that connect to a device using WiFi. In this case the wifi has no internet connection and is a local network.
I need to download some files from device so I tried this library but when I enqueue the download it does not start.
I tried to turn OFF airplane mode (used due to conflict with cellular network and local network IP) and downloads started.

To Reproduce
Steps to reproduce the behavior:

  1. Set airplane-mode ON or turn off cellular network
  2. enqueue a download
  3. download will not start
  4. disable ariplane mode or turn on cellular networ
  5. download will start (but in my case fails due to IPs conflicts)

Expected behavior
Download should start even no internet network. Maybe a parameter can be added to allow start downloading even when device is connected to a no-internet network

Device information:

  • Android 13
  • plugin version 1.12.0
@noisemaker00 noisemaker00 added the bug Something isn't working label Jan 26, 2025
@i-jade
Copy link

i-jade commented Mar 6, 2025

Hello, developer. I have also encountered a situation similar to yours:
The application I developed is for use on a local area network, and once connected to WIFI, it cannot access the public network. In this case, the download will not begin. When I switch to public WiFi, the download will start, but I cannot connect to the internal network server at this time, causing a failure. How did you solve this problem? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants