bccm_player 0.2.4 copy "bccm_player: ^0.2.4" to clipboard
bccm_player: ^0.2.4 copied to clipboard

discontinued

ExoPlayer/AVPlayer via platform views, with cast, PiP, background audio, audio selection, etc.

6
likes
110/ 160
pub points
43%
popularity

We analyzed this package 33 hours ago, and awarded it 110 pub points (of a possible 160):

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

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: bccm_player,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository URL mismatch: expected https://github.com/bcc-code/bccm_player but got https://github.com/bcc-code/bccm-player.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

75 out of 412 API elements (18.2 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: bcc_media, bcc_media.BccmApi, bcc_media.BccmApi.BccmApi, bcc_media.BccmApi.updateProgress, bcc_media.BccmPlaybackListener.

10/10 points: Package has an example

failed
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

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

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

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:bccm_player/bccm_player.dart that imports:
  • package:bccm_player/src/state/player_controller.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:bccm_player/bccm_player.dart that imports:
  • package:bccm_player/src/state/player_controller.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:bccm_player/bccm_player.dart that imports:
  • package:bccm_player/src/widgets/cast/cast_button.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:bccm_player/bccm_player.dart that imports:
  • package:bccm_player/src/widgets/cast/cast_button.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.dart that imports:
  • dart:io

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.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/bccm_player/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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 40 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/state/player_state_notifier.freezed.dart:278:17

    ╷
278 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/state/plugin_state_notifier.freezed.dart:130:17

    ╷
130 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

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

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

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

Package Constraint Compatible Latest
collection ^1.17.1 1.18.0 1.19.1
flutter flutter 0.0.0 0.0.0
flutter_hooks ^0.18.6 0.18.6 0.20.5
flutter_plugin_android_lifecycle ^2.0.9 2.0.23 2.0.23
flutter_state_notifier ^0.7.3 0.7.3 1.0.0
flutter_svg ^2.0.2 2.0.15 2.0.15
flutter_web_plugins flutter 0.0.0 0.0.0
freezed ^2.3.2 2.5.7 2.5.7
freezed_annotation ^2.2.0 2.4.4 2.4.4
js ^0.6.5 0.6.7 0.7.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
riverpod ^2.2.0 2.6.1 2.6.1
state_notifier ^0.7.2+1 0.7.2+1 1.0.0
universal_io ^2.0.4 2.2.2 2.2.2
wakelock_plus ^1.1.1 1.2.8 1.2.8
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 77.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.7.0 7.0.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
characters - 1.3.0 1.3.1
checked_yaml - 2.0.3 2.0.3
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.3.7 2.3.7
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
macros - 0.1.2-main.4 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
package_config - 2.1.0 2.1.0
package_info_plus - 8.1.1 8.1.1
package_info_plus_platform_interface - 3.0.1 3.0.1
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.0.2 6.0.2
provider - 6.1.2 6.1.2
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
sky_engine - 0.0.99 0.0.99
source_gen - 1.5.0 1.5.0
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.15 1.1.15
vector_math - 2.1.4 2.1.4
wakelock_plus_platform_interface - 1.2.1 1.2.1
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0
win32 - 5.8.0 5.8.0
xml - 6.5.0 6.5.0
yaml - 3.1.2 3.1.2

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

Found 4 issues. Showing the first 2:

The constraint `^0.18.6` on flutter_hooks does not support the stable version `0.19.0`.

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

The constraint `^0.7.3` on flutter_state_notifier does not support the stable version `1.0.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.