qiuxiang/react-native-recording

TypeError: null is not an object (evaluating "Recording.init")

mahdimmr opened this issue · 5 comments

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

Same issue here

Same problem.

Fixed in v0.5.1

Still happening on 0.5.1

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