Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
rn-native-media-picker
Advanced tools
A React Native library for picking media (images and videos) from the native media library.
A React Native library for picking media (images and videos) from the native media library.
You can use this project as a sample module yourself. Remember to give feedback and contribute to improving it. If you think it is helpful, give me a star. Thank you so much!
No | Permission | Description |
---|---|---|
01 | android.permission.READ_EXTERNAL_STORAGE | Allows an application to read from external storage (API level 32 or lower) |
02 | android.permission.READ_MEDIA_IMAGES | Allows an application to read image files from external storage (API level 33 or higher) |
03 | android.permission.READ_MEDIA_VIDEO | Allows an application to read video files from external storage (API level 33 or higher) |
04 | android.permission.READ_MEDIA_VISUAL_USER_SELECTED | Allows an application to read image or video files from external storage that a user has selected via the permission prompt photo picker (API level 34 or higher), should be requested alongside 02 and 03 |
npm install rn-native-media-picker
https://github.com/user-attachments/assets/471749de-b3ef-459c-9890-12870fa0a700
https://github.com/user-attachments/assets/533fdb64-0fbd-4844-a14f-0e07e76d6c85
import { launchLibrary, IOptions } from 'rn-native-media-picker';
// ...
const onLaunchLibrary = () => {
const options: IOptions = {
isMultipleSelection: false,
maxSelection: 1,
mediaType: 'image',
};
launchLibrary(options).then((result) =>
console.log('result', result)
);
};
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
A React Native library for picking media (images and videos) from the native media library.
The npm package rn-native-media-picker receives a total of 4 weekly downloads. As such, rn-native-media-picker popularity was classified as not popular.
We found that rn-native-media-picker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.