Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio message not working #61

Closed
samtuga1 opened this issue Feb 26, 2023 · 3 comments
Closed

Audio message not working #61

samtuga1 opened this issue Feb 26, 2023 · 3 comments
Labels
bug Something isn't working waiting-for-response Waiting for someone to response

Comments

@samtuga1
Copy link

Describe the bug
I am trying to record an audio message but it never works on my device

It gives me an error of [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(AudioWaveforms, Failed to prepare player, null, null)

[✓] Flutter (Channel stable, 3.7.1, on macOS 13.0.1 22A400 darwin-x64, locale en-GH)
Checking Android licenses is taking an unexpectedly long time...[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.75.1)
[✓] Connected device (2 available)
@DhvanitVaghani DhvanitVaghani added the bug Something isn't working label Feb 28, 2023
@DhvanitVaghani
Copy link
Contributor

@samtuga1. Right now audio_waveforms has a few glitches in the latest version. For a temporary solution, you can add the below lines in your pubspec.yaml file that will help you to resolve your issue.

dependency_overrides:
  audio_waveforms: 1.0.1

Once glitches will be resolved I will ping you here. I am closing this issue right now, feel free to reopen it if you have any concerns. Thank you !!

@se-abdelkhaleq
Copy link

not working nhandled Exception: type 'List<Object?>' is not a subtype of type 'FutureOr<String?>'
#0 AudioWaveformsInterface.stop (package:audio_waveforms/src/base/audio_waveforms_interface.dart:64:12)

#1 RecorderController.stop (package:audio_waveforms/src/controllers/recorder_controller.dart:227:20)

#2 _ChatUITextFieldState._recordOrStop (package:chatview/src/widgets/chatui_textfield.dart:232:20)

@apurva010
Copy link
Collaborator

Hi @se-abdelkhaleq, Are you still facing this issue? if yes feel free to reopen issue and also can you please share code snippet so we can reproduce the issue to investigate it further.

@apurva010 apurva010 added the waiting-for-response Waiting for someone to response label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting-for-response Waiting for someone to response
Projects
None yet
Development

No branches or pull requests

4 participants