FLUTTER ECOSYSTEM

system_proxy

A Flutter Plugin to get system plugin. Use to set dart HttpClient proxy for grabing requests.

Latest version
0.1.0
30-day downloads
6.9K
Likes
23
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The system_proxy package is a Flutter plugin that enables access to the system's configured proxy settings on Android and iOS. It allows developers to retrieve the system proxy configuration and apply it to Dart's HttpClient, ensuring network requests respect the device's network environment. This is particularly useful for apps that need to operate behind corporate or restricted networks where proxy settings are mandatory. The plugin simplifies integration by providing a straightforward API to extract proxy details like host, port, and exclusion rules.

Use cases
  • Accessing system proxy settings in enterprise apps
  • Configuring HttpClient with system proxy
  • Ensuring compliance with corporate network policies
  • Handling proxy configurations automatically on Android and iOS
  • Enabling internet access in restricted network environments
Key features
  • Retrieves system proxy settings on Android and iOS
  • Supports Dart HttpClient proxy configuration
  • Automatic detection of proxy host and port
  • Handles proxy exclusion lists
  • Cross-platform compatibility
Suitable for
  • Enterprise mobile applications
  • Apps requiring network transparency
  • Developers building tools for restricted networks
  • Projects needing automatic proxy setup
  • Flutter apps deployed in controlled network environments
Considerations
  • Requires appropriate platform permissions
  • May not work if system proxy is not configured
  • Limited to HTTP/HTTPS proxy settings
  • No support for SOCKS proxies
  • Depends on correct system-level proxy configuration
Supported platformsAndroidiOS

Install package

flutter pub add system_proxy

Categories

Source repository

Related projects