offline_web_proxy 0.1.1 copy "offline_web_proxy: ^0.1.1" to clipboard
offline_web_proxy: ^0.1.1 copied to clipboard

Offline-capable local proxy server for Flutter WebView. Provides seamless online/offline operation when converting existing web systems to mobile apps.

145/ 160
pub points
77
downloads

We analyzed this package 14 days ago, and awarded it 145 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

145 out of 156 API elements (92.9 %) have documentation comments.

Some symbols that are missing documentation: offline_web_proxy.CacheEntry.CacheEntry.new, offline_web_proxy.CacheStats.CacheStats.new, offline_web_proxy.CookieInfo.CookieInfo.new, offline_web_proxy.DroppedRequest.DroppedRequest.new, offline_web_proxy.OfflineWebProxy.OfflineWebProxy.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:offline_web_proxy/offline_web_proxy.dart that imports:
  • package:shelf/shelf_io.dart that imports:
  • package:shelf/src/io_server.dart that imports:
  • dart:io

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:offline_web_proxy/offline_web_proxy.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:offline_web_proxy/offline_web_proxy.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:offline_web_proxy/offline_web_proxy.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:offline_web_proxy/offline_web_proxy.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Use 'const' with the constructor to improve performance.

lib/offline_web_proxy.dart:212:13

    ╷
212 │       throw ProxyStartException('Proxy server is already running', null);
    │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/offline_web_proxy.dart

INFO: Use 'const' with the constructor to improve performance.

lib/offline_web_proxy.dart:489:14

    ╷
489 │         return WarmupResult(
    │ ┌──────────────^
490 │ │         successCount: 0,
491 │ │         failureCount: 0,
492 │ │         totalDuration: Duration.zero,
493 │ │         entries: [],
494 │ │       );
    │ └───────^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/offline_web_proxy.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
connectivity_plus ^7.0.0 7.0.0 7.0.0
crypto ^3.0.3 3.0.7 3.0.7
hive ^2.2.3 2.2.3 2.2.3
hive_flutter ^1.1.0 1.1.0 1.1.0
http ^1.5.0 1.6.0 1.6.0
path_provider ^2.1.5 2.1.5 2.1.5
shelf ^1.4.1 1.4.2 1.4.2
shelf_proxy ^1.0.4 1.0.4 1.0.4
shelf_router ^1.1.4 1.1.4 1.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
dbus - 0.7.11 0.7.11
ffi - 2.1.4 2.1.4
http_methods - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
145
points
77
downloads

Publisher

unverified uploader

Weekly Downloads

Offline-capable local proxy server for Flutter WebView. Provides seamless online/offline operation when converting existing web systems to mobile apps.

Repository (GitHub)
View/report issues

Topics

#proxy #offline #webview #flutter #cache

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

connectivity_plus, crypto, flutter, hive, hive_flutter, http, path_provider, shelf, shelf_proxy, shelf_router

More

Packages that depend on offline_web_proxy