PackageTrack
Sign in Get early access

record_android

Android specific implementation for record package called by record_platform_interface.

2.1.2 844K downloads/mo #394 most downloaded on pub.dev llfbandit/record

What this package is like to depend on

Last release 2 months ago

22 Jun 2026

Release timing varies

gaps range from 2 weeks to 3 months

Nearly every release is documented

notes for 30 of 30 stable releases

1 version withdrawn

withdrawn after publishing

3 years old

34 releases · first in 2023

12 releases in the last 12 months

see the full history below

Release timeline

34 releases · Jun 2023 to Jun 2026
2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 34
  1. 2.1.2 22 Jun 2026
    Release notes
    • fix: Throw for unsupported stream encoders.
    • fix: Flac regression from CSD changes.
    • fix: Improve consistency of device/codec caps adjustment flow.
    Open source →
  2. 2.1.1 13 Jun 2026
    Release notes
    • fix: Potential result sent twice with SCO.
    Open source →
  3. 2.1.0 10 Jun 2026
    Release notes
    • feat: Improve InputDevice description with sample rates and type.
    • fix: csd-0 ignored resulting in unreadable file on iOS.
    • fix: codec/device caps and surface onConfigChanged to dart side.
    • fix: Bluetooth SCO connection before audio recording.
    • fix: Prevents potential double pause event.
    • fix: Potential two stop events fired.
    • fix: Prevents potential NPE.
    • fix: Potential file descriptor leak.
    • fix: onOutputFormatChanged has no guard against being called more than once.
    • fix: Wait the end of the recording before deleting the file on cancel call.
    • fix: Potentially no result when starting recorder without stopping first.
    • fix: Useless check of codec.
    • fix: Silent frames now return -160.0 instead of -Infinity.
    • fix: Cancelled recordings may leave partial files on disk.
    • fix: Encoding may not be stopped if PCM reader fails to stop.
    • fix: Wrong channel count adjustment.
    • fix: Race condition. BUFFER_FLAG_END_OF_STREAM never queued if last encode() runs before mStoppedCompleter is assigned.
    • fix: Reshape project with better separation of concerns.
    Open source →
  4. 2.0.1 27 May 2026
    Release notes
    • fix: Build issue.
    Open source →
  5. 2.0.0 26 May 2026 withdrawn
    Release notes
    • chore: Breaking change Remove background recording service.
    • chore: Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.
    • chore: Move to AGP 9.x.
    • chore: Move to Kotlin Gradle DSL.
    Open source →
  6. 1.5.2 22 May 2026
    Release notes
    • fix: Potential IndexOutOfBoundsException for AAC ADTS streaming.
    • chore: Many code improvements and cleanups.
    • chore: Deprecate background Android service.
    Open source →
  7. 1.5.1 13 Feb 2026
    Release notes
    • fix: Potential IndexOutOfBoundsException for AAC ADTS streaming.
    Open source →
  8. 1.5.0 30 Jan 2026
    Release notes
    • feat: Add request parameter to hasPermission() method to check permission status without requesting.
    • fix: AudioInterruptionMode not pausing.
    Open source →
  9. 1.4.5 20 Nov 2025
    Release notes
    • fix: WAVE header for files larger than 2GB.
    Open source →
  10. 1.4.4 19 Oct 2025
    Release notes
    • fix: crash when notify a notification with a background service on devices below Android 8.0.
    • fix: Update build config.
    Open source →
  11. 1.4.3 01 Oct 2025
    Release notes
    • fix: Missing notification channel when using AndroidService.
    Open source →
  12. 1.4.2 11 Sep 2025
    Release notes
    • fix: Flac recording failure by isolating CSD frame skipping.
    Open source →
  13. 1.4.1 21 Aug 2025
    Release notes
    • fix: Calling stop never ends when not recording.
    • fix: Update max amplitude when streaming.
    • fix: AudioRecord calls the wrong method to read shorts.
    Open source →
  14. 1.4.0 15 Aug 2025
    Release notes
    • feat: Add AudioInterruptionMode to RecordConfig.
    • feat: Add stream buffer size option.
    • feat: Allow background recording.
    • fix: malformed AAC on Android.
    Open source →
  15. 1.3.3 16 May 2025
    Release notes
    • fix: Gradle compile SDK to 34.
    Open source →
  16. 1.3.2 14 May 2025
    Release notes
    • fix: Pause state accuracy.
    • fix: AAC ADTS streaming.
    • feat: Add audioManagerMode and speakerphone options to mitigate echo cancellation issues with specific devices. (Thanks to @keyur2maru for the original PR)
    Open source →
  17. 1.3.1 20 Feb 2025
    Release notes
    • fix: Stop does not complete when called immediately after startStream.
    • fix: No static method addLast.
    Open source →
  18. 1.3.0 02 Nov 2024
    Release notes
    • feat: Add audio source config.
    • feat: Add manageBluetooth (SCO) option.
    • fix: Audio source is now AndroidAudioSource.defaultSource (without any effect pre-processor in theory).
    • fix: Recording not working when starting from an Android ForegroundService.
    • fix: MPEG4 container is not returned when requesting AudioEncoder.opus for MediaRecorder (legacy).
    • fix: Race condition when calling stop.
    • chore: Add debug log when effect is not available while requested.
    Open source →
  19. 1.2.6 27 Aug 2024
    Release notes
    • fix: Improve amplitude computation.
    • fix: java.lang.IllegalStateException: Failed to stop the muxer.
    • fix: Exception raised on bluetooth receiver unregistration.
    • chore: Upgrade to latest AGP.
    Open source →
  20. 1.2.5 09 Aug 2024
    Release notes
    • fix: Applying effects.
    • fix: Race condition leading to exception when releasing codec & muxer.
    Open source →
  21. 1.2.4 02 Jul 2024
    Release notes
    • fix: Revert to Java 8.
    Open source →
  22. 1.2.3 25 Jun 2024
    Release notes
    • fix: Revert AGP v8 setup to latest v7.
    • fix: Don't start bluetooth SCO when asking for another device type.
    Open source →
  23. 1.2.2 30 May 2024
    Release notes
    • fix: Threading issues. Model is now more robust and overall performance is much better.
    • fix: Recording on older Android devices ..., 8, 9.
    • fix: Recording on slow devices (e.g. writing on external SD cards, ...).
    • fix: Audio duration detection should be less a problem now.
    • chore: minSDK is now 23 (Android 6), targetSDK is now 34.
    • chore: code cleanup and adjustment from new minSDK.
    Open source →
  24. 1.2.1 23 May 2024
    Release notes
    • fix: Stopping stream recording throws ExceptionInterruptedException.
    Open source →
  25. 1.2.0 21 May 2024
    Release notes
    • feat: Re-introduced native MediaRecorder. Set RecordConfig.androidConfig.useLegacy to true. This comes with limitations compared to advanced recorder.
    • feat: Advanced AudioRecorder will try to adjust given configuration if unsupported or out of range (sample rate, bitrate and channel count).
      • Those two features should help for older devices, bad vendor implementations or misusage of configuration values.
    • feat: ability to mute all audio streams when recording. The settings are restored when the recording is stopped.
      • Notice: streams will stay at current state on pause/resume.
    Open source →
  26. 1.1.0 24 Mar 2024
    Release notes
    • fix: Properly close container when recording is stopped.
    • fix: num channels & sample rate are not applied in AAC format.
    • feat: Add device listing/selection (selection is not guaranteed but preferred only...).
    • feat: Add bluetooth SCO auto linking (i.e. for telephony device like headset/earbuds).
      • Recording quality is limited.
      • You must add "MODIFY_AUDIO_SETTINGS" permission to allow recording from those devices. See README.md.
    Open source →
  27. 1.0.4 14 Dec 2023
    Release notes
    • fix: AAC duration can not be obtained.
    Open source →
  28. 1.0.3 29 Oct 2023
    Release notes
    • fix: Stop method returns before recording being actually finished.
    • fix: Changing config is not taken into account when reusing same instance.
    Open source →
  29. 1.0.2 15 Oct 2023
    Release notes
    • chore: Allow AGP 8 and beyond while being backward compatible with older AGP versions.
    Open source →
  30. 1.0.1 15 Oct 2023
    Release notes
    • chore: Allow AGP 8 and beyond while being backward compatible with older AGP versions.
    Open source →
  31. 1.0.0 14 Oct 2023
    Release notes
    • chore: Initial stable release.
    Open source →
  32. 1.0.0-beta.2 27 Jun 2023 pre-release
    Release notes
    • chore: Cleanup/improve some code.
    Open source →
  33. 1.0.0-beta.1 05 Jun 2023 pre-release
    Release notes
    • chore: Initial release
    Open source →
  34. 1.0.0-beta.1+1 06 Jun 2023 pre-release
    Release notes
    • fix: PassthroughEncoder does not check if the container is configured with stream behaviour.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive