approov_service_flutter_dio_http2 3.5.0 copy "approov_service_flutter_dio_http2: ^3.5.0" to clipboard
approov_service_flutter_dio_http2: ^3.5.0 copied to clipboard

Approov support for Flutter Dio clients using HTTP/2.

120/ 160
pub points
31
downloads

We analyzed this package 6 days ago, and awarded it 120 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: 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

161 out of 227 API elements (70.9 %) have documentation comments.

Some symbols that are missing documentation: approov_service_flutter_dio_http2, approov_service_flutter_dio_http2.ApproovDioHttp2, approov_service_flutter_dio_http2.ApproovDioHttp2.install, approov_service_flutter_dio_http2.ApproovDioHttp2Adapter, approov_service_flutter_dio_http2.ApproovDioHttp2Adapter.ApproovDioHttp2Adapter.new.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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:approov_service_flutter_dio_http2/approov_service_flutter_dio_http2.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

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

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

The package does not contain ios/approov_service_flutter_dio_http2/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors 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 16 issues. Showing the first 2:

INFO: 'handshakeTimout' is deprecated and shouldn't be used. Use handshakeTimeout instead. This will be removed in 3.0.0.

lib/src/approov_dio_http2_adapter.dart:40:9

   ╷
40 │         handshakeTimout: handshakeTimeout,
   │         ^^^^^^^^^^^^^^^
   ╵

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

INFO: The variable name 'Log' isn't a lowerCamelCase identifier.

lib/src/approov_service.dart:85:14

   ╷
85 │ final Logger Log = Logger(
   │              ^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 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
asn1lib ^1.5.2 1.6.5 1.6.5
collection ^1.15.0 1.19.1 1.19.1
crypto ^3.0.3 3.0.7 3.0.7
dio ^5.9.0 5.11.1 5.11.1
dio_http2_adapter ^2.7.0 2.9.0 2.9.0
enum_to_string ^2.0.1 2.2.1 2.2.1
http ^1.2.1 1.6.0 1.6.0
logger ^2.0.2 2.8.0 2.8.0
mutex ^3.1.0 3.1.0 3.1.0
pem ^2.0.5 2.0.6 2.0.6
shared_preferences ^2.2.2 2.5.5 2.5.5
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
dio_web_adapter - 2.2.2 2.2.2
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.2 7.0.2
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.28 2.4.28
shared_preferences_foundation - 2.5.7 2.5.7
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
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.4.2 2.4.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/approov_service.dart:93:5 - The named parameter 'dateTimeFormat' isn't defined.
  • UNDEFINED_IDENTIFIER - lib/src/approov_service.dart:93:21 - Undefined name 'DateTimeFormat'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: