[Unhandled promise rejection: TypeError: null is not an object (evaluating 'Recording.init')]
at node_modules/react-native-recording/lib/index.js:14:30 in default.init
at components/AudioTest.tsx:31:18 in recordSound
In AudioTest.tsx I just have a button that calls recordSound (basically copied from the README):
Hi there,
I am getting this error:
In
AudioTest.tsx
I just have a button that callsrecordSound
(basically copied from the README):Can you tell me what I am doing wrong?
I am using
expo
onAndroid
version"react-native-recording": "^0.5.1",