Skip to content

Recording audio makes opening the keyboard so laggy on Android. #323

Closed
@arabnology

Description

@arabnology

Package version
5.1.0

Environment

  • OS: Android

Describe the bug
I have a TextField with the audio recorder, and when I start recording and while I'm recording, I try to type on the keyboard, but the keyboard opening is so laggy.

Add your record configuration RecordConfig(...)

      .start(const RecordConfig(), path: "$appTempDirectoryPath/${Helpers.uniqueUuid}.m4a")
      .timeout(const Duration(seconds: 8));

Steps to reproduce the behavior:

  1. Add a TextField and a button to start recording.
  2. Start recording, and then tap on TextField.
  3. See the lag while opening the keyboard.

Expected behavior
Keyboard opening normally without any lag.

Additional context
Check the video below for the app built in release mode:
Note: The lag is not clearly shown with the video.

laggy_kb_record.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions