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

TypeError: Cannot read property 'stopRecorder' of undefined #98

Closed
simform-solutions opened this issue Aug 5, 2019 · 9 comments · Fixed by #114
Closed

TypeError: Cannot read property 'stopRecorder' of undefined #98

simform-solutions opened this issue Aug 5, 2019 · 9 comments · Fixed by #114

Comments

@simform-solutions
Copy link

I can see the audio player when I press play it says it is undefined.
It works just fine on Android.

I have checked everywhere (all the files) to see if that is a linking issue and found that it is not showing up in products in pod folder (Attached screenshot below) but not sure it is happening due to the same or not.

Version of react-native-audio-recorder-player: 2.2.2

Platforms you faced the error (IOS or Android or both?)
IOS

Expected behavior
Start recording

Screen Shot 2019-08-05 at 6 04 50 PM

@chandanrai95
Copy link

you got some solution?

@simform-solutions
Copy link
Author

Nope still looking for solution.

@aliotadi
Copy link

any solution?

@simform-solutions
Copy link
Author

Nope switched to the react-native audio toolkit and it is working fine.

@hyochan
Copy link
Owner

hyochan commented Aug 28, 2019

Please try 2.2.3 and come back for current issue.

@aliotadi
Copy link

now i don't get the undefined error but still i cann't record anything in ios, recorder will start but i'ts not working as expected, the 'addRecordBackListener's current_position is always 0

@hyochan
Copy link
Owner

hyochan commented Sep 14, 2019

Please try 2.3.0.

@simform-solutions
Copy link
Author

Hi, @hyochan I have tried v2.3.0 and the good news is that I am not facing undefined error but recording seems broken as I am also getting current_position as 0 always in 'addRecordBackListener'.

@hyochan
Copy link
Owner

hyochan commented Sep 16, 2019

@SimformSolutions Which platform are you facing this? Did you also try example project in repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants