Closed emirdeliz closed 8 years ago
I fixed this running the comand: 'react-native upgrade', then including again with 'rnpm link react-native-audio'.
WARNING: This command remove all plugins installed. After is necessary register again
doing this with react-native-git-upgrade ( the new react-native upgrade tool ) + linking doesnt work.
In my case, I am using wix' react-native-navigation, which has it's own getPackages() defined in MainApplication.java. I needed to keep it synced with the default getPackages() that 'react-native link' modifies. After I got that copied, it works:
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new ReactNativeAudioPackage(),
new RNSoundPackage(),
.....
I get this error after load app.
Unhandled JS Exception: undefined is not an object (evaluating 'AudioRecorderManager.checkAuthorizationStatus')
I look source of react-native and not found the module 'AudioRecorderManager'
About react
"react": "~15.2.1", "react-native": "^0.31.0",