Skip to content

Copy 'wifiOnly` option from react-native-blob-util (aka rn-fetch-blob) #174

@cristianoccazinsp

Description

@cristianoccazinsp

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

When connecting, uploading and downloading data from IoT devices, sometimes we need to be able to only perform a network request through a specific network interface (e.g., WiFi).
A long time ago I implemented this feature for rn-fetch-blob (joltup/rn-fetch-blob#497), and I'm planning to migrate to this library, but this feature is a must for us.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Copying code from joltup/rn-fetch-blob#497 is probably a good start. A very simple flag to force WiFi and never falling back to mobile data.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions