Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Cannot read property 'checkAuthorizationStatus' of undefined (after react-native run-ios) #338

Open
JordanMoose opened this issue Aug 5, 2019 · 2 comments

Comments

@JordanMoose
Copy link

JordanMoose commented Aug 5, 2019

Version

react-native-audio : 4.3.0
react-native : 0.60.4
react : 16.8.6
using react-native-sound ? Yes

Expected behaviour :

Import required components from react-native-audio to use for recording audio.

Actual behaviour

The error occurs at the import statement. I've managed to track it back to the index.js file of this module. I've read many identical issues on this repo, but none seem to solve the problem. Yes, I've already run react-native link react-native-audio. Yes, I rebuilt the project with react-native run-ios and didn't just refresh the simulator. I feel out of options. If someone could please help shed some light on a possible solution that would be amazing because I need this module to record audio.

Steps to reproduce

npm install react-native-audio
react-native link react-native-audio
react-native run-ios

@harishileaf
Copy link

Just do the manual installation on both ios and android

@jasnoponjatno
Copy link

pod install helped me

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

No branches or pull requests

3 participants