oneconnect_flutter 1.0.2 copy "oneconnect_flutter: ^1.0.2" to clipboard
oneconnect_flutter: ^1.0.2 copied to clipboard

A plugin that allow you to use OneConnect with Flutter

130/ 160
pub points
53
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

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

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

Detected license: GPL-3.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

24 out of 57 API elements (42.1 %) have documentation comments.

Some symbols that are missing documentation: openvpn_flutter, openvpn_flutter.OneConnect, openvpn_flutter.OneConnectModel, openvpn_flutter.OneConnectModel.OneConnectModel.new, openvpn_flutter.OneConnectModel.toJson.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:oneconnect_flutter/openvpn_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:oneconnect_flutter/openvpn_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:oneconnect_flutter/openvpn_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:oneconnect_flutter/openvpn_flutter.dart that declares support for platforms: Android, iOS.

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:oneconnect_flutter/openvpn_flutter.dart that imports:
  • package:oneconnect_flutter/src/vpn_engine.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:oneconnect_flutter/openvpn_flutter.dart that imports:
  • package:oneconnect_flutter/src/vpn_engine.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:oneconnect_flutter/openvpn_flutter.dart that imports:
  • package:oneconnect_flutter/src/vpn_engine.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwinhttprequest.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/win32/user32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/win32/oleaut32.g.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/combase.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:win32/src/inline.dart that imports:
  • package:win32/src/win32/uxtheme.g.dart that imports:
  • package:win32/src/callbacks.dart that imports:
  • package:win32/src/types.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/oneconnect_flutter/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

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 12 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/vpn_engine.dart:139:86

    ╷
139 │   ///bypassPackages : exclude some apps to access/use the VPN Connection, it was List<String> of applications package's name (Android Only)
    │                                                                                      ^^^^^^^^
    ╵

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

INFO: Don't invoke 'print' in production code.

lib/src/vpn_engine.dart:358:9

    ╷
358 │         print('CHECKTEST Error: ${response.statusCode}');
    │         ^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
http ^1.1.2 1.6.0 1.6.0
package_info_plus ^4.2.0 4.2.0 9.0.0
shared_preferences ^2.2.2 2.5.3 2.5.3
url_launcher ^6.2.1 6.3.2 6.3.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.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
package_info_plus_platform_interface - 2.0.1 3.2.1
path - 1.9.1 1.9.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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.15 2.4.15
shared_preferences_foundation - 2.5.5 2.5.5
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.24 6.3.24
url_launcher_ios - 6.3.5 6.3.5
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.4 3.2.4
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^4.2.0` on package_info_plus does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions package_info_plus to update the constraint.

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.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
130
points
53
downloads

Publisher

verified publisheroneconnect.top

Weekly Downloads

A plugin that allow you to use OneConnect with Flutter

Homepage

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, http, package_info_plus, shared_preferences, url_launcher

More

Packages that depend on oneconnect_flutter

Packages that implement oneconnect_flutter