flutter_oneshot_player 0.0.4 copy "flutter_oneshot_player: ^0.0.4" to clipboard
flutter_oneshot_player: ^0.0.4 copied to clipboard

Low-latency one-shot audio sample player for Flutter. Native AVAudioEngine on iOS/macOS, Oboe on Android.

0.0.4 #

Bug fixes #

  • Swift Package Manager mixed-language target fixed. SPM does not allow Swift and Objective-C files in the same target. AVAudioEngineEx.h/.m (the ObjC exception-safe AVAudioEngine wrappers) have been moved into a separate flutter_oneshot_player_bridge target. The Swift target declares a dependency on it, and OneshotEngine.swift now imports flutter_oneshot_player_bridge to access prepareAndStartAVAudioEngine. CocoaPods builds are unaffected.

0.0.3 #

Bug fixes #

  • Swift Package Manager directory structure corrected. Flutter's toolchain resolves the SPM package path as darwin/<plugin_name>/Package.swift, not darwin/Package.swift. The Package.swift and Swift sources have been moved from darwin/ into the darwin/flutter_oneshot_player/ subdirectory, matching the layout used by all Flutter first-party plugins. All podspecs updated to reference the new source paths. This is the change that makes the package disappear from Flutter's "does not support Swift Package Manager" warning list.

0.0.2 #

Bug fixes #

  • Swift Package Manager product name corrected. The library product in darwin/Package.swift was named flutter_oneshot_player (snake_case). Flutter's build system derives the expected SPM product name in kebab-case (flutter-oneshot-player), so the mismatch caused Flutter to skip SPM and fall back to CocoaPods silently. Renamed to flutter-oneshot-player; apps built with Flutter 3.27+ will now use SPM automatically for both iOS and macOS.

0.0.1 #

  • Initial release.
0
likes
150
points
58
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Low-latency one-shot audio sample player for Flutter. Native AVAudioEngine on iOS/macOS, Oboe on Android.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_oneshot_player

Packages that implement flutter_oneshot_player