
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-native-beautiful-video-recorder
Advanced tools
The video recorder component that extends from react-native-camera. It works for both iOS & Android.
cameraOptions and recordAsyncOptions from react-native-camerayarn add react-native-beautiful-video-recorder react-native-camera react-native-vector-icons
Follow react-native-camera & react-native-vector-icons for linking native libraries.
Please file an issue if you have any trouble!
With iOS 10 and higher you need to add the "Privacy - Camera Usage Description" key to the info.plist of your project. This should be found in your_project/ios/your_project/Info.plist. Add the following code:
<key>NSCameraUsageDescription</key>
<string>Your message to user when the camera is accessed for the first time</string>
<!-- Include this only if you are planning to use the microphone for video recording -->
<key>NSMicrophoneUsageDescription</key>
<string>Your message to user when the microsphone is accessed for the first time</string>
Add permissions in your Android Manifest (required for video recording feature)
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
import VideoRecorder from 'react-native-beautiful-video-recorder';
....
start = () => {
// 30 seconds
this.videoRecorder.open({ maxLength: 30 },(data) => {
console.log('captured data', data);
});
}
render() {
return (
<View>
......
<TouchableOpacity onPress={this.start}>
<Text>Start</Text>
</TouchableOpacity>
<VideoRecorder ref={(ref) => { this.videoRecorder = ref; }} />
</View>
);
}
The calback will be fulfilled with an object with some of the following properties:
uri: (string) the path to the video saved on your app's cache directory.
videoOrientation: (number) orientation of the video
deviceOrientation: (number) orientation of the device
iOS codec: the codec of the recorded video. One of RNCamera.Constants.VideoCodec
isRecordingInterrupted: (boolean) whether the app has been minimized while recording
MIT
FAQs
react-native-beautiful-video-recorder ===
The npm package react-native-beautiful-video-recorder receives a total of 35 weekly downloads. As such, react-native-beautiful-video-recorder popularity was classified as not popular.
We found that react-native-beautiful-video-recorder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.