
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
react-native-video-picker-android
Advanced tools
A React Native package that allows you to select single or multiple videos from Android device library with support for compression. A common use case is to compress videos and optimize the file size before uploading them to the server.
A React Native package that allows you to select single or multiple videos from Android device library with support for compression. A common use case is to compress videos and optimize the file size before uploading them to the server.
npm install react-native-video-picker-android
yarn add react-native-video-picker-android
// react-native.config.js
module.exports = {
dependencies: {
'react-native-video-picker-android': {
platforms: {
ios: null,
},
},
},
};
import { pickVideo } from 'react-native-video-picker-android';
// ...
try {
const uris: string[] = await pickVideo({
maxFileSize: 1024 * 1000000,
multiple: false,
compress: true,
onProgress: (prog) => {
setProgress(prog);
},
quality: 'high',
lowerBoundForCompress: 70 * 1000000,
duration: 300,
});
console.log('---- pickVideo() success ', uris);
} catch (err) {
console.log('---- pickVideo() error ', err, (err as any)?.code);
}
yarn example android
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library
FAQs
A React Native package that allows you to select single or multiple videos from Android device library with support for compression. A common use case is to compress videos and optimize the file size before uploading them to the server.
We found that react-native-video-picker-android 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.