skip to Main Content

I am working on a Flutter app that requires the ability to record internal audio, such as audio playing from other apps or the device’s system sounds, on Android devices. I have researched the topic, but I’m finding it challenging to figure out a reliable way to achieve this without resorting to risky practices like rooting the device.

Is there a non-root solution or a safe method to record internal audio in a Flutter app on Android? I’m aware of the privacy and security concerns surrounding this functionality, and I want to ensure that my app complies with all guidelines and respects users’ privacy.

If recording internal audio is not possible in Flutter alone, are there any recommended workarounds or external libraries that I can use in conjunction with Flutter to achieve this functionality?

I would appreciate any insights, code examples, or pointers to relevant resources that can help me implement internal audio recording in my Flutter app while adhering to best practices and ensuring a smooth user experience.

Thank you in advance for your assistance!

2

Answers


  1. Recording global Audio in Android is now against Google’s policy due to privacy concerns.
    You can only record external audio through the microphone on Android.

    Login or Signup to reply.
  2. There are a number of Android devices that come with built-in call recording features. These features are typically enabled by default, and they don’t require users to grant any special permissions. This suggests that Google is okay with apps that record audio from calls (like Google apps and Web activity), but they may be less okay with apps that record audio from other sources.

    I did not find that "Recording global Audio in Android is now against Google’s policy due to privacy concerns", but it sure is harder.

    See Google’s crackdown on third-party Android call recorders may finally be complete by Mitchell Clark:

    Google is changing its Play Store policy to clamp down on a workaround that call recording apps were using, potentially closing the final loophole that allowed these apps to exist (via NLL-Apps on Reddit). On May 11th, a rule clarifying that “the Accessibility API is not designed and cannot be requested for remote call audio recording” will go into effect, making it so that apps won’t be able to record audio from a call.

    And see Google is banning third-party call recording apps from the Play Store from Steve Dent: Developers can’t use the Accessibility API for call recording starting May 11th.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search