Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
react-native-cropping-image-picker
Advanced tools
Readme
iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping.
⚠️ This library is a comprehensive rework of react-native-image-crop-picker
Our primary motivation for this overhaul was the inadequate support for the GIF format in the original library. However, it's important to note that react-native-image-crop-picker
is not abandoned. Therefore, we don't aim to replace it. Instead, we present an alternative. Users should choose the package that best suits their needs.
In our version, we have completely rewritten the library using Swift and Kotlin, ensuring modern standards. We've also removed outdated dependencies and replaced those that are no longer actively maintained. For ease of transition and compatibility, we've retained the exposed functions and types from react-native-image-crop-picker
.
npm install react-native-cropping-image-picker
import {
clean,
cleanSingle,
openCamera,
openCropper,
openPicker,
openLimitedAccessConfirmDialog,
queryAccessStatus,
} from 'react-native-cropping-image-picker';
// ...
await clean();
await cleanSingle();
await openCamera();
await openCropper();
await openPicker();
await openLimitedAccessConfirmDialog();
await queryAccessStatus();
react-native-image-crop-picker
's documentation for detailed instructions.openLimitedAccessConfirmDialog
Shows the user a dialog with two options:
Add images to the granted access scope
(Will show the image picker with the already selected images marked)
Grant full access
(Will open the app settings, the user will have to navigate to the image permissions submenu)
queryAccessStatus
Will return the current access status, possible values are:
See: https://developer.apple.com/documentation/photokit/phauthorizationstatus
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library
FAQs
Cropping and Picking Images
The npm package react-native-cropping-image-picker receives a total of 193 weekly downloads. As such, react-native-cropping-image-picker popularity was classified as not popular.
We found that react-native-cropping-image-picker demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.