Skip to content
CAI
Software that uses CAICheck a score

bluefireteam/audioplayers

64.0

Adequate · 13 November 2026

9.7k

lines of production code

Dart

with Kotlin, C++, Swift

8

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add Linux desktop support to the example app

The example application now includes the necessary native Linux files (CMake build configuration, GTK application entry points, and plugin registrants) to run on Linux desktops. This enables users to build and test the audioplayers plugin on Linux using the standard Flutter toolchain.

packages/audioplayers/example/linux · high confidence

Add Linux platform support for audioplayers

This change introduces a new native Linux implementation for the audioplayers plugin, enabling audio playback on Linux desktop environments. The implementation uses GStreamer to handle audio sources, supporting features such as play, pause, stop, seek, volume control, playback rate adjustment, and stereo balance. It also includes proper error handling, state management, and event channels for position updates and playback status.

_packages/audioplayers\linux/linux · high confidence

Add local test server for audioplayers

A new local HTTP test server has been added to the audioplayers example project to provide audio sources for testing. The server, built with Dart and the shelf package, serves static audio files (MP3, WAV) and supports streaming endpoints for both WAV and MPEG formats. It includes support for HTTP range requests, configurable latency simulation, and live stream modes that can record or relay external audio streams, facilitating comprehensive local testing of the audioplayers package.

packages/audioplayers/example/server · high confidence

Added Windows build configuration for the audioplayers example app

The audioplayers example application now includes the necessary CMake build files and generated plugin registrants to support building on Windows. This change introduces the Flutter Windows platform setup, configuring the build system to link the \audioplayers\_windows\ and \file\_selector\_windows\ plugins, enabling users to compile and run the example app on the Windows desktop platform.

packages/audioplayers/example/windows/flutter · high confidence

Added project documentation and contributor guidelines

The repository now includes a \contributing.md\ file outlining the development environment setup (including Melos bootstrapping), community conduct rules, and submission guidelines for issues and pull requests. Additionally, new documentation files have been added: \getting\_started.md\ provides a comprehensive tutorial on using the library's new Source-based API, \migration\_guide.md\ details the transition from v0 to v1 (including the removal of AudioCache shortcuts and API simplifications), \feature\_parity\_table.md\ tracks platform support for various audio features, and \troubleshooting.md\ addresses common runtime and build issues such as CORS policies and background audio configuration.

(repo-wide) · high confidence

Android audio engine restructured with new player modes and focus management

The Android plugin implementation has been reorganized to support distinct player modes (Media Player and Low Latency) via a new \PlayerWrapper\ abstraction, allowing users to select the appropriate backend for their use case. A new \FocusManager\ handles audio focus dynamically, ensuring correct behavior on both modern Android versions (using \AudioFocusRequest\) and legacy devices, while also supporting \AudioManager.AUDIOFOCUS\_NONE\ to allow sound mixing. The plugin now exposes \setBalance\ for stereo panning and improves state handling by correctly emitting \onPrepared\ events and managing player lifecycle through a centralized \WrappedPlayer\ class.

_packages/audioplayers\android/android · high confidence

AudioPlayer v1.0: New AudioPool, Source Abstraction, and Global Audio Scope

This release introduces a major architectural overhaul centered on a new \AudioPool\ class, designed to manage pre-loaded \AudioPlayer\ instances for low-latency, repetitive, or simultaneous sounds. The audio source handling is now unified under a new \Source\ abstraction (including \UrlSource\, \AssetSource\, \DeviceFileSource\, and \BytesSource\), replacing previous direct string/URL methods. A new \GlobalAudioScope\ manages platform initialization and global events, while the internal logging system has been refactored into \AudioLogger\ with a new \AudioLogLevel\ enum. Additionally, position updates are now handled by pluggable \PositionUpdater\ implementations (\TimerPositionUpdater\ and \FramePositionUpdater\), and the legacy \NotificationService\ and \PlayingRoute\ APIs have been removed.

packages/audioplayers/lib/src · high confidence

Automated Android SDK and Emulator Setup for CI

A new CI script (scripts/ci/setup-android.sh) has been added to automatically configure the Android development environment for continuous integration pipelines. This script handles KVM permission configuration, installs the Android Emulator and platform tools, and provisions a specific Android system image (defaulting to API level 35 with the aosp\_atd source) along with a pre-configured AVD (Nexus 5X) to enable headless emulator testing.

scripts · high confidence

Example app restructured to support multiple simultaneous audio players

The example application has been rewritten to demonstrate managing multiple AudioPlayer instances simultaneously. Users can now add or remove players via a popup menu, switch between them using a toggle control, and view individual player states (playing, paused, stopped, completed) with toast notifications. The UI is organized into tabs for sources, controls, streams, audio context, and logging, providing a comprehensive view of each player's lifecycle and configuration.

packages/audioplayers/example/lib · high confidence

Initial Windows support for the example app

The example application now runs on Windows. This change adds the native C++ runner files (including the build configuration, window management, and resource scripts) required to host the Flutter view on the Windows desktop platform.

packages/audioplayers/example/windows/runner · high confidence

Initial release of the Windows platform implementation for audioplayers

This entry introduces the \audioplayers\_windows\ package, providing the native Windows backend for the audioplayers library. The package is an endorsed federated plugin, meaning it is automatically included when using the main \audioplayers\ package on Windows, requiring no manual \pubspec.yaml\ addition. It includes the necessary C++ implementation files, build configuration (CMake), and documentation. Notably, the README specifies requirements for Visual Studio 18 (2026) and recommends updating \CMakeLists.txt\ to version 3.15 to support the CMP0091 policy, ensuring compatibility with modern Windows development environments.

_packages/audioplayers\_linux, packages/audioplayers\windows · high confidence

Initial release of the federated audioplayers\_darwin package

The \audioplayers\_darwin\ package is introduced as the dedicated iOS and macOS implementation for the \audioplayers\ plugin. This change federates the project, allowing the Darwin platform code to be maintained and published as a separate endorsed package that is automatically included when using the main \audioplayers\ package. The entry includes the package's initial structure, such as the \.gitignore\, \analysis\_options.yaml\, \LICENSE\, and \README.md\, along with a historical \CHANGELOG.md\ documenting previous versions of the monolithic plugin.

_packages/audioplayers\darwin · high confidence

New ExoPlayer-based Android audio implementation package

The \audioplayers\_android\_exo\ package is introduced as a new Android implementation for the AudioPlayers plugin, leveraging the ExoPlayer engine. This allows users to replace the default Android audio backend by adding the package to their \pubspec.yaml\. The package includes standard plugin scaffolding such as a changelog, license, and analysis options, and is designed to be an endorsed federated plugin implementation.

_packages/audioplayers\_android\exo · high confidence

New example app tabs for audio context, controls, logging, and sources

The example application now includes dedicated tabs for configuring audio context (with global vs. local settings and platform-specific options), playback controls (volume, balance, rate, seek), logging (with configurable log levels and separate global/player log views), and media sources (supporting URLs, assets, and local server testing).

packages/audioplayers/example/lib/tabs · high confidence

Web platform package scaffolding and documentation

The \audioplayers\_web\ package is introduced as the web implementation for the audioplayers plugin. This change adds the foundational package structure, including the README, MIT license, analysis options, and a comprehensive changelog documenting the history from version 1.0.0-rc.1 through 5.3.0. The changelog highlights key web-specific behaviors such as using GainNode for volume control to fix Safari compatibility, resetting paused state on release, and supporting WebAssembly compilation.

_packages/audioplayers\web · high confidence

Removals

Removal of iOS audio plugin implementation

The iOS implementation files for the audio plugin (AudioplayerPlugin.h, AudioplayerPlugin.m, and SwiftAudioplayerPlugin.swift) have been deleted. This removes the native iOS code responsible for handling audio playback, pausing, stopping, and event callbacks via the Flutter method channel.

ios/Classes · high confidence

Removal of legacy Android audio plugin implementation

The legacy \AudioplayerPlugin.java\ file, which handled basic audio playback via the Flutter MethodChannel, has been removed from the Android source. This deletion eliminates the previous implementation that managed play, pause, and stop commands through a single \MediaPlayer\ instance, indicating a shift away from this specific code path in favor of a newer architecture.

android/src/main/java · high confidence

Removal of legacy AudioPlayer class

The legacy AudioPlayer class, which previously exposed methods for play, pause, and stop via a MethodChannel and relied on callback handlers for duration, position, completion, and error events, has been removed from the library. This change eliminates the old API surface, requiring users to adopt the updated audio playback interface introduced in the current version.

lib · high confidence

Removal of legacy example application

The legacy example application located in \example/lib/main.dart\ has been removed. This file previously contained a basic audio player implementation using the \audioplayer\ package, featuring play, pause, and stop controls along with progress tracking. Its deletion indicates that the example project structure has been reorganized or replaced, and users should refer to the updated example location for current usage patterns.

example/lib · high confidence

Removed legacy Android example app scaffolding

The Android example application's legacy scaffolding files, including the AndroidManifest.xml, MainActivity.java, and .gitignore, have been deleted. This removes the old Java-based Flutter activity setup and associated build artifacts from the example project.

example/android · high confidence

Removed legacy Flutter example project files

The example directory's legacy Flutter module configuration files (README.md, .iml files) have been removed. This cleanup eliminates outdated usage instructions and IDE-specific module definitions that are no longer relevant to the current project structure.

example · high confidence

Behavioural changes

1 commit (0 fixes) modifying packages/audioplayers\_android/android

A change to existing behaviour in packages/audioplayers\_android/android — 1 commit, 1 file: “feat(android)!: Replace AudioContextAndroid.stayAwake with wakeMode (\#2033)” (refs \#2033). Also in this area: Refactored Android audio backend to use Kotlin data classes and explicit source handling.

_packages/audioplayers\android/android/src/main/kotlin/xyz/luan/audioplayers · medium confidence · unverified

4 commits (1 fix) modifying packages/audioplayers\_android/android/src/main/kotlin/xyz/luan/audioplayers/source

A change to existing behaviour in packages/audioplayers\_android/android/src/main/kotlin/xyz/luan/audioplayers/source — 4 commits (1 fix), 2 files: “refactor: Lint Kotlin, C and C++ code (\#1610)”; “Reorganizing to use platform channels (\#1051)”; “fix(android): Released wrong source in LOW\_LATENCY mode (\#1672)”; and 1 more (refs \#1610, \#1051, \#1672, \#1691).

_packages/audioplayers\android/android/src/main/kotlin/xyz/luan/audioplayers/source · medium confidence · unverified

Darwin audio player restructured with async Swift and explicit audio session configuration

The iOS and macOS native implementation has been rewritten in Swift to use async/await for method channel handling, improving responsiveness and resource management. A new \AudioContext\ struct allows users to explicitly configure \AVAudioSession\ categories and options (such as \mixWithOthers\ or \allowBluetooth\) on iOS, replacing previous implicit behavior. The plugin now registers distinct method and event channels for global and per-player operations, and includes a no-op \AudioContext\ implementation for macOS to maintain API consistency while noting that session configuration is not supported on that platform.

_packages/audioplayers\darwin/darwin · high confidence

Example app UI components refactored and expanded

The example application's user interface has been restructured to use a new set of reusable UI components located in the \lib/components\ directory. This includes new widgets for checkboxes (\Cbx\), dialogs (\SimpleDlg\, \Dlg\), dropdowns (\LabeledDropDown\, \CustomDropDown\), list tiles (\WrappedListTile\), padding (\Pad\), text input (\TxtBox\), and toggle buttons (\Tgl\, \EnumTgl\), as well as a tab container (\Tabs\). Existing components like \Btn\ and \tab\_wrapper.dart\ (renamed to \tab\_content.dart\) have been updated to modern Flutter patterns (e.g., \super.key\, \styleFrom\). Additionally, new widgets \PlayerWidget\, \PropertiesWidget\, and \StreamWidget\ have been added to provide dedicated UI for audio playback controls, player property display (duration, position, state, source, volume, balance, playback rate), and real-time stream updates, respectively.

packages/audioplayers/example/lib/components · high confidence

Example app updated for Flutter stable and modernized configuration

The audioplayers example application has been migrated from the Flutter master channel to the stable channel, ensuring compatibility with current stable releases. The project's linting configuration was replaced with the flame\_lint package to standardize code analysis, and the macOS platform folder was updated to remove obsolete CocoaPods references and add a standard Help menu item. Additionally, the example's documentation was expanded to describe the available tabs (Src, Ctrl, Stream, Ctx, Log) and introduced a local test server feature for development.

packages/audioplayers/example · high confidence

Introduce ExoPlayer-based audio engine for Android

The Android implementation now uses the ExoPlayer (Media3) engine instead of the previous default, providing a modern playback backend. This change brings support for playing audio from byte arrays in addition to URLs, ensures correct volume handling for mono audio sources, and improves stability by properly disposing players on hot restarts. Also in this area: 1 commit (1 fix) fixing packages/audioplayers, packages/audioplayers\_android\_exo, packages/audioplayers\_platform\_interface; 2 commits (0 fixes) modifying (repo-wide); Refactor Kotlin cleanup logic and migrate ExoPlayer API usage.

_packages/audioplayers\_android\exo/android · medium confidence · unverified

Public API reorganization and export consolidation

The audioplayers platform interface package now exposes its core classes and enums (AudioContext, AudioEvent, PlayerMode, PlayerState, ReleaseMode) directly through a consolidated main entry point. This change simplifies imports for consumers by providing a single, unified export file instead of requiring multiple specific imports, while also reorganizing the internal structure to improve separation of concerns between global and instance-specific interfaces.

_packages/audioplayers\_platform\interface/lib · high confidence

Refactored Android audio backend to use Kotlin data classes and explicit source handling

The Android plugin's internal audio handling has been refactored to improve code structure and maintainability. A new \AudioContextAndroid\ data class now centralizes audio configuration (such as speakerphone, audio focus, and stream type), replacing scattered configuration logic. Source handling is now explicit via \UrlSource\ and \BytesSource\ classes, which define how media is prepared for both the standard \MediaPlayer\ and the low-latency \SoundPool\. Notably, \BytesSource\ is explicitly unsupported in low-latency mode, ensuring users are aware of this limitation when using in-memory audio data with \SoundPool\. This change primarily affects the internal implementation details of the Android module, laying groundwork for more robust audio context management.

_packages/audioplayers\android/android/src/main/kotlin/xyz/luan/audioplayers/player · medium confidence

Removal of empty placeholder in iOS Assets directory

The empty .gitkeep file in the ios/Assets directory has been removed, indicating that the directory is no longer required as an empty placeholder in the project structure.

ios/Assets · high confidence

Restructured audio context configuration and event model

The platform interface now exposes a new \AudioContextConfig\ abstraction that simplifies cross-platform audio settings (such as focus, route, and silence handling) by automatically translating them into platform-specific \AudioContext\ objects for Android and iOS. The \AudioEvent\ model has been updated to include an \isPrepared\ flag and a new \playingStateUpdate\ event type, providing more granular feedback on player state. Additionally, several enums including \PlayerMode\, \PlayerState\, and \ReleaseMode\ have been migrated to lowercase constant naming conventions, and \PlayerState\ now includes a \disposed\ state to better reflect the lifecycle of the player instance.

_packages/audioplayers\_platform\interface/lib/src/api · high confidence

Restructured platform interface with dedicated global audio handling

The \audioplayers\_platform\_interface\ package has been refactored to separate per-player and global audio operations into distinct platform classes. The new \AudioplayersPlatform\ handles individual player lifecycle and control methods (such as create, dispose, seek, and setSource), while a new \GlobalAudioplayersPlatform\ manages global state, including initializing the plugin, setting global audio context, and listening to global events like logs. This separation clarifies the API surface for platform-specific implementations and supports global audio event streams.

_packages/audioplayers\_platform\interface/lib/src · high confidence

Restructured public API exports and removed legacy files

The library's public API surface has been reorganized to expose core types (such as AudioContext, PlayerMode, and PlayerState) directly from the platform interface package rather than local re-exports. Several legacy files, including audioplayers\_api.dart and notifications.dart, have been removed, while new exports for AudioPool, AudioLog, and position update mechanisms have been added to the main entry point.

packages/audioplayers/lib · high confidence

Updated example app Android manifest and themes for modern Android/Flutter standards

The example app's Android configuration has been updated to align with current Android and Flutter embedding standards. The AndroidManifest.xml now declares necessary permissions (INTERNET, WAKE\_LOCK, MODIFY\_AUDIO\_SETTINGS), sets the activity as exported, uses the dynamic application name placeholder, and includes the required queries block for text processing. Theme resources have been adjusted to use light themes by default (with a separate dark mode resource), and the splash screen drawable has been modernized to use the system background color. The MainActivity Kotlin class has been simplified to use idiomatic syntax.

packages/audioplayers/example/android/app · high confidence

The macOS example application's display name has been changed from 'audioplayers\_example' to 'AudioPlayers Example', and the bundle identifier has been simplified from 'xyz.luan.audioplayers.audioplayersExample' to 'xyz.luan.audioplayersExample'. Additionally, the copyright notice in the app information has been updated to reflect the year 2026 and shortened the holder name to 'xyz.luan'.

packages/audioplayers/example/macos/Runner/Configs · high confidence

Updated macOS example to use new plugin names and CocoaPods removal

The macOS example project has been updated to reflect the plugin name change from \audioplayers\ to \audioplayers\_darwin\ and from \path\_provider\_macos\ to \file\_selector\_macos\ in the generated plugin registrant. Additionally, the build configuration files (Flutter-Debug.xcconfig and Flutter-Release.xcconfig) no longer include CocoaPods support files, relying instead on ephemeral generated configurations, which removes the dependency on the Pods directory for this example.

packages/audioplayers/example/macos/Flutter · high confidence

Web audio player implementation restructured with Web Audio API integration

The web platform implementation has been rewritten to use the Web Audio API (AudioContext, GainNode, StereoPannerNode) instead of a simple HTMLAudioElement, enabling features like volume and balance control via nodes and fixing Safari compatibility issues. The new structure introduces a \WrappedPlayer\ class that manages the audio element and nodes, a \GlobalAudioplayersPlatform\ for global events, and a \NumExtension\ for duration conversion. Key behavioral changes include resetting \pausedAt\ on release, handling infinite durations for live streams, and ensuring proper disposal of audio contexts and players.

_packages/audioplayers\web/lib · high confidence

Windows audio engine rewritten to use Media Foundation

The Windows plugin has been completely rewritten to use the Windows Media Foundation API instead of the previous implementation. This new engine supports playback from URLs and raw bytes, allows setting audio balance, and provides detailed playback state events (playing, paused, ended, seeking). It also includes a check for the Media Feature Pack on Windows N editions to prevent crashes when the required system libraries are missing.

_packages/audioplayers\windows/windows · high confidence

audioplayers package reorganized into mono-repo structure

The audioplayers package has been restructured into a mono-repo layout to support federated packages. This change introduces a dedicated .gitignore file for the package, a .metadata file tracking the Flutter project type and revision, and a comprehensive CHANGELOG.md documenting the history from version 1.2.0 through 6.8.1. The package now includes a standard LICENSE (MIT) and an updated README.md with improved documentation, badges, and links to the live example app. Additionally, the analysis\_options.yaml has been updated to include flame\_lint, replacing the previous linter configuration.

packages/audioplayers · high confidence

iOS example app modernized with Swift Package Manager and iOS 16+ compatibility

The iOS example app has been updated to align with modern Flutter standards. It now uses Swift Package Manager for plugin dependencies instead of CocoaPods, and adopts the \FlutterImplicitEngineDelegate\ protocol in \AppDelegate.swift\ to handle plugin registration. The app is configured for iOS 16+ (removing the explicit minimum OS version constraint and adding \CADisableMinimumFrameDurationOnPhone\), utilizes a \SceneDelegate\ for window management, and includes a basic unit test target. Additionally, the app display name is set to "AP Example" and the web manifest is updated to support maskable icons.

packages/audioplayers/example/ios · high confidence

macOS example app updates for modern Swift and network access

The macOS example application has been updated to align with modern macOS development standards. The app delegate now uses the @main entry point and implements applicationSupportsSecureRestorableState to support secure state restoration. Network access is enabled via NSAppTransportSecurity settings, allowing arbitrary loads for testing purposes. Additionally, the main window initialization has been simplified to use the modern Swift initializer syntax for FlutterViewController.

packages/audioplayers/example/macos/Runner · high confidence

macOS example project migrates to Swift Package Manager and adds unit tests

The macOS example app's Xcode project has been updated to use Swift Package Manager for plugin dependencies, replacing the previous CocoaPods setup (Pods\_Runner.framework) with FlutterGeneratedPluginSwiftPackage. The project file version was upgraded to 54, and the app bundle name was changed to "AudioPlayers Example.app". Additionally, a new "RunnerTests" target and scheme entry were added to support unit testing, and the Xcode scheme was updated to include a pre-action script for preparing the Flutter framework.

packages/audioplayers/example/macos/Runner.xcodeproj · high confidence

Test coverage

Added comprehensive test coverage for AudioPool, global audio scope, and platform mocks; Added invalid audio asset for testing; Added macOS example runner tests; Added platform interface tests for audio context, method channels, and event streams; Integration tests for the audioplayers example app; Re-added integration test driver for audioplayers example; Reworked integration tests for the audioplayers example app.

Dependencies

Migrate to Flutter 3.44+ and Android Gradle Plugin 8.6

The audioplayers example app and Android platform implementations have been upgraded to require Flutter 3.44.0+ and Dart 3.6.0. On Android, the project now uses the Android Gradle Plugin 8.6.0, Kotlin 2.0.0, and Java 17, replacing the previous legacy Gradle setup. The example app's build configuration has been modernized to use Kotlin DSL and delegate SDK version management to Flutter, ensuring compatibility with current Android development standards.

(dependencies) · high confidence

Updated Android Gradle wrapper to version 9.1.0

The Android example app's Gradle wrapper has been upgraded from version 6.7.1 to 9.1.0. This change ensures the example project uses the latest Gradle distribution, which may affect build performance and compatibility with newer Android development tools.

packages/audioplayers/example/android/gradle · high confidence

Housekeeping

Android plugin package scaffolding and documentation

The \audioplayers\_android\ package is now properly structured as a federated plugin implementation. This includes adding a \.gitignore\ and \.metadata\ file for Flutter tooling, a \CHANGELOG.md\ documenting the history from v0.17.4 through v5.3.0 (notably including ExoPlayer adoption and Kotlin compatibility), a \LICENSE\ file, and a \README.md\ explaining its endorsed status. Additionally, \analysis\_options.yaml\ is configured to use \flame\_lint\ for code analysis.

_packages/audioplayers\android · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.

Score

  • CAI 59 → 64 (+4.8)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 94 → 94 (+0.1)
  • Architecture 97 → 97 (-0.1)
  • Maturity 57 → 61 (+3.8)
  • Readiness 51 → 55 (+3.4)
  • Security 61 → 69 (+7.5)
  • Performance 81 → 100 (+19.4)

Resolved (18)

  • Duplicated block (25 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Duplicated block (25 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/player/WrappedPlayer.kt)
  • Duplicated block (31 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Duplicated block (33 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Duplicated block (35 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioContextAndroid.kt)
  • Duplicated block (40 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Duplicated block (5 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/player/WrappedPlayer.kt)
  • Duplicated block (6 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Duplicated block (7 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Hotspot: packages/audioplayers/lib/src/audioplayer.dart (packages/audioplayers/lib/src/audioplayer.dart)
  • Near-duplicate member pair (96 shared lines) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Off-boarding risk: anonymized user #1
  • Orphaned file (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/player/MediaPlayerWrapper.kt)
  • Orphaned files with no living knowledge
  • Rotate the exposed credentials — git history can't be un-committed
  • Secret: generic-api-key (example/ios/Runner.xcworkspace/xcshareddata/Runner.xcscmblueprint)
  • Secret: generic-api-key (example/ios/Runner.xcworkspace/xcshareddata/Runner.xcscmblueprint)
  • Secret: generic-api-key (example/ios/Runner.xcworkspace/xcshareddata/Runner.xcscmblueprint)

New (18)

  • Duplicated block (25 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Duplicated block (25 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/player/WrappedPlayer.kt)
  • Duplicated block (31 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Duplicated block (33 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Duplicated block (35 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioContextAndroid.kt)
  • Duplicated block (40 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Duplicated block (5 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/player/WrappedPlayer.kt)
  • Duplicated block (6 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Duplicated block (7 lines × 2) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Edited copy of a member (10 corresponding lines) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/player/WrappedPlayer.kt)
  • Edited copy of a member (10 corresponding lines) (packages/audioplayers_platform_interface/lib/src/audioplayers_platform.dart)
  • Edited copy of a member (11 corresponding lines) (packages/audioplayers/example/lib/tabs/audio_context.dart)
  • Edited copy of a member (11 corresponding lines) (packages/audioplayers_platform_interface/lib/src/audioplayers_platform.dart)
  • Edited copy of a member (4 corresponding lines) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Edited copy of a member (9 corresponding lines) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • High: security finding (details withheld)
  • Near-duplicate member pair (96 shared lines) (packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/AudioplayersPlugin.kt)
  • Off-boarding risk: anonymized user #1

Changes since last survey

  • 7 commits — 4 feature/other, 3 fixes

By area

  • .github/workflows — 2 commits
  • packages/audioplayers — 2 commits
  • packages/audioplayers_darwin — 2 commits
  • packages/audioplayers_platform_interface — 1 commit

Notable commits

  • fix: fix(android_exo): Differentiate playback rate from playback status (#2036)
  • fix: fix(darwin): Add FlutterFramework dependency to Package.swift (#2039)
  • fix: fix(darwin): Add missing swift_version to podspec (#2030)
  • change: ci: Disallow AI attribution in commits and PR descriptions (#2035)
  • change: ci: Raise macos-min OS version to 15 (#2038)
  • change: feat(android)!: Make audioplayers_android_exo the default on Android (#2031)
  • change: feat(android)!: Replace AudioContextAndroid.stayAwake with wakeMode (#2033)

Architecture

  • Containers 0 added · 0 removed · contexts 2 added · 2 removed · edges 1 added · 1 removed

Added bounded contexts (2)

  • packages/audioplayers_android/android
  • packages/audioplayers_android_exo/android

Removed bounded contexts (2)

  • packages/audioplayers_android/android
  • packages/audioplayers_android_exo/android

Added dependency edges (1)

  • packages/audioplayers_android_exo/android → packages/audioplayers_android/android (coupling)

Removed dependency edges (was a dependency, now gone) (1)

  • packages/audioplayers_android_exo/android → packages/audioplayers_android/android

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

bluefireteam/audioplayers was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 917507301a90289ecd34809da9302fefb782a8f2 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.57+preprod-8ebfb01cf4c0.