flutter_kinescope_sdk 0.1.5 copy "flutter_kinescope_sdk: ^0.1.5" to clipboard
flutter_kinescope_sdk: ^0.1.5 copied to clipboard

Flutter plugin for the Kinescope player.

5
likes
110/ 140
pub points
61%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/kinescope/flutter-kinescope-player/issues was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

34 out of 57 API elements (59.6 %) have documentation comments.

Some symbols that are missing documentation: flutter_kinescope_sdk, flutter_kinescope_sdk.PlayerParameters.autofocus, flutter_kinescope_sdk.PlayerParameters.autopause, flutter_kinescope_sdk.PlayerParameters.autoplay, flutter_kinescope_sdk.PlayerParameters.background.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_kinescope_sdk/flutter_kinescope_sdk.dart that imports:
  • package:flutter_kinescope_sdk/src/player/kinescope_player.dart that imports:
  • package:flutter_kinescope_sdk/src/kinescope_player_controller.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_kinescope_sdk/flutter_kinescope_sdk.dart that imports:
  • package:flutter_kinescope_sdk/src/player/kinescope_player.dart that imports:
  • package:flutter_kinescope_sdk/src/kinescope_player_controller.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS, macOS, Web.
Package not compatible with platform Web

Because:

  • package:flutter_kinescope_sdk/flutter_kinescope_sdk.dart that imports:
  • package:flutter_kinescope_sdk/src/player/kinescope_player.dart that imports:
  • package:flutter_kinescope_sdk/src/kinescope_player_controller.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that imports:
  • package:flutter_inappwebview/src/main.dart that imports:
  • package:flutter_inappwebview/src/in_app_localhost_server.dart that imports:
  • package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/main.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/utils/uri_builder.dart:46:26

   ╷
46 │       if (args.watermark != null)
   │                          ^^^^^^^
   ╵

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

INFO: 'iosOnNavigationResponse' is deprecated and shouldn't be used. Use onNavigationResponse instead.

lib/src/player/kinescope_player.dart:132:9

    ╷
132 │         iosOnNavigationResponse: (_, __) async {
    │         ^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_inappwebview ^6.0.0 6.0.0 6.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
flutter_inappwebview_android - 1.0.13 1.0.13
flutter_inappwebview_internal_annotations - 1.1.1 1.1.1
flutter_inappwebview_ios - 1.0.13 1.0.13
flutter_inappwebview_macos - 1.0.11 1.0.11
flutter_inappwebview_platform_interface - 1.0.10 1.0.10
flutter_inappwebview_web - 1.0.8 1.0.8
flutter_web_plugins - 0.0.0 0.0.0
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

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

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.