Using FLAG_SECURE
(more details) we can avoid recording screen but it still records audio.
How can we disable audio recording too?
Note
Audio is records after android 10 and system screen recorder.
Thanks in advance
Using FLAG_SECURE
(more details) we can avoid recording screen but it still records audio.
How can we disable audio recording too?
Note
Audio is records after android 10 and system screen recorder.
Thanks in advance
This Package 'flutter_windowmanager: ^0.0.1+1' you can prevent users from taking screenshots or recording videos of the app.
For more details, you can read this article for disable screen recording - https://mrgulshanyadav.medium.com/prevent-screenshot-and-video-recording-in-flutter-93839325d66c
You are right, your requirements is to disable audio recording.please read this article it may be help you,
https://android-developers.googleblog.com/2019/07/capturing-audio-in-android-q.html
but in IOS I already do it because there is a flag to check if the screen recording is runnning or not, so when it is running I set the volume to zero and it was useful trick.