flutter_oneshot_player 0.0.4
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-safeAVAudioEnginewrappers) have been moved into a separateflutter_oneshot_player_bridgetarget. The Swift target declares a dependency on it, andOneshotEngine.swiftnow importsflutter_oneshot_player_bridgeto accessprepareAndStartAVAudioEngine. 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, notdarwin/Package.swift. ThePackage.swiftand Swift sources have been moved fromdarwin/into thedarwin/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.swiftwas namedflutter_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 toflutter-oneshot-player; apps built with Flutter 3.27+ will now use SPM automatically for both iOS and macOS.
0.0.1 #
- Initial release.