audioplayers icon indicating copy to clipboard operation
audioplayers copied to clipboard

[v1.1.0] Error: Message responses can be sent only once

Open Gustl22 opened this issue 2 years ago • 3 comments

Checklist

  • [x] I read the troubleshooting guide before raising this issue
  • [x] I made sure that the issue I am raising doesn't already exist

This error occurs, if calling getDuration on MacOS.

Current bug behaviour

Getting this error message:

2022-10-03 00:51:55.467 audioplayers_example[1831:12236] Error: Message responses can be sent only once. Ignoring duplicate response on channel 'xyz.luan/audioplayers'.

Expected behaviour

Not to get any error message.

Steps to reproduce

  1. Execute flutter run on the code sample
  2. Load a sample of your choice and play it
  3. Call getDuration

See example of this project.

Environment information

  • audioplayers version: 1.1.0

Platform 1: macos

  • OS name and version: macOS 12.6
  • Device: macOS via VM
  • build mode: debug
  • error peculiarities (optional):

Platforms tested without any issue (optional):

  • test peculiarities:

Gustl22 avatar Oct 02 '22 22:10 Gustl22

+1

milkyway044 avatar Oct 18 '23 12:10 milkyway044

+1

JesperBllnbm avatar Apr 11 '24 11:04 JesperBllnbm