I am developing an iOS app with react-native. I wanted to use MediaRecorder which is still in 'experimental' phase. I turned it on in advanced Safari settings but when I try to use it in my app:
var mediaRecorder = new MediaRecorder(stream)
I get this error:
ReferenceError: Can't find variable: MediaRecorder
This feature works well in safari, but I can't get it to work in my app. Is there a way to turn it on in Xcode/real-native settings?