This repository was archived by the owner on Aug 21, 2020. It is now read-only.
This repository was archived by the owner on Aug 21, 2020. It is now read-only.
undefined is not an object (evaluating 'AudioRecorderManager.checkAuthorizationStatus') - android #89
Closed
Activity
rakannimer commentedon Sep 16, 2016
Hey !
Thanks for reporting this. I updated the example code, can you try again and report back ?
jsierles commentedon Sep 17, 2016
Fixed in #91.
ghost commentedon Sep 19, 2016
Solved. Thanks so much.
neilsarkar commentedon Oct 8, 2016
In case anyone else is new to react-native and doesn't realize this, you need to restart (either via
react-native run-ios
orreact-native run-android
or through the IDEs) after doingreact-native link react-native-audio
-- the js reloading won't pick up the newly linked native libraries.bruckmatthew commentedon Feb 2, 2017
This issue seems to still persist unless i'm missing something?
Running on Android emulator and on android device
React Native 0.40
react-native-audio 3.10.8
run:
rnpm link react-native-audio
react-native link react-native-audio
Restarted with entirely new project.
Added permission to AndroidManifest.xml
Below is the code snippet which I think it might be having problems with.
import {
Platform,
PermissionsAndroid,
} from 'react-native';
import { AudioRecorder, AudioUtils } from 'react-native-audio';
class RecordScene extends Component {
TechGuyVN commentedon Feb 10, 2017
I got the same problem, can you solve it?
HolaMan commentedon Jun 8, 2017
I got the same problem.
RN 0.44
react-native-audio 3.2.2
[update]
sorry for the wrong comment.
After confirmation, it require ios rebuild before testing
It's okay to me now.
ybalaev1 commentedon Jan 21, 2020
react-native link react-native-audio
cd ios && pod install && cd ..
delete app in your device
react-native run-ios
close the terminal with starting the server
react-native start --reset-cache