better_native_video_player 1.5.3
better_native_video_player: ^1.5.3 copied to clipboard
Native video player (AVPlayer on iOS, ExoPlayer on Android) with HLS, DRM, Chromecast & AirPlay casting, Picture-in-Picture, background playback, and fullscreen.
We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
322 out of 468 API elements (68.8 %) have documentation comments.
Some symbols that are missing documentation: better_native_video_player.BackgroundPlaybackGuard.BackgroundPlaybackGuard.new, better_native_video_player.BackgroundPlaybackGuard.controller, better_native_video_player.BackgroundPlaybackGuard.dispose, better_native_video_player.FullscreenManager.FullscreenManager.new, better_native_video_player.FullscreenVideoPlayer.FullscreenVideoPlayer.new.
10/10 points: Package has an example
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:better_native_video_player/better_native_video_player.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:better_native_video_player/better_native_video_player.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:better_native_video_player/better_native_video_player.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:better_native_video_player/better_native_video_player.dartthat 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 `iOS`.
Because:
package:better_native_video_player/better_native_video_player.dartthat imports:package:better_native_video_player/src/services/position_checkpoints.dartthat imports:package:better_native_video_player/src/controllers/native_video_player_controller.dartthat imports:package:floating/floating.dartthat declares support for platforms:Android.
Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/subtitles/subtitle_loader_io.dart:19:7
╷
19 │ return response.transform(utf8.decoder).join();
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/subtitles/subtitle_loader_io.dart
INFO: Use the null-aware marker '?' rather than a null check via an 'if'.
lib/src/platform/video_player_method_channel.dart:127:9
╷
127 │ if (language != null) 'language': language,
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform/video_player_method_channel.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
floating |
^6.0.0 |
6.0.0 | 6.0.0 | |
multicast_dns |
^0.3.2 |
0.3.3+1 | 0.3.3+1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
vector_math |
- | 2.4.2 | 2.4.2 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.