TypeError: null is not an object (evaluating "Recording.init")
mahdimmr opened this issue · 5 comments
mahdimmr commented
export default {
// TODO: params check
init: (options: {
bufferSize: number,
sampleRate: number,
bitsPerChannel: 8 | 16,
channelsPerFrame: 1 | 2,
}) => Recording.init(options),
start: () => Recording.start(),
stop: () => Recording.stop(),
addRecordingEventListener: listener => eventEmitter.addListener('recording', listener)
}
is not working on the 0.62.2
fix this PLEASE
aaronshier commented
Same issue here
sdakansu commented
Same problem.
qiuxiang commented
Fixed in v0.5.1
ysvahn commented
Still happening on 0.5.1
ysvahn commented
My bad, I was using Expo and it blocks a lot of native customization.
I migrated to a standard RN project and it seems to be working now