This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 103
startRecording() called on an uninitialized AudioRecord [Android] #61
Comments
hey @mustafaskyer did you find a solution to this? |
Need to get RECORD_AUDIO permission before calling AudioRecord.init() |
already did post permission in AndroidManifest.xml |
any solution now? I have same problem |
I was getting the same issue because AudioRecord.init was being called before the permissions were being requested. I moved the init below permissions request and it worked. |
@Sheharyar566 did you ask for the permission in react native like this?
if not what did you use? Can you share that Thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
this issue generated only on android, only at the first time,
any suggestions about how to avoid this issue
code example below
The text was updated successfully, but these errors were encountered: