Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

with-rn-image-crop-picker

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

with-rn-image-crop-picker - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

58

package.json
{
"name": "with-rn-image-crop-picker",
"version": "0.0.4",
"homepage": "https://github.com/mwegener-com/with-rn-image-crop-picker#readme",
"author": "Marius Wegener",
"repository": "https://github.com/mwegener-com/with-rn-image-crop-picker.git",
"description": "An Expo config plugin for painless setup of `react-native-image-crop-picker`",
"bugs": {
"url": "https://github.com/mwegener-com/with-rn-image-crop-picker/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"license": "MIT",
"private": false,
"main": "app.plugin.js",
"devDependencies": {
"expo-module-scripts": "^2.0.0"
},
"dependencies": {
"@expo/config-plugins": "^3.0.6"
},
"scripts": {
"build": "expo-module build",
"clean": "expo-module clean",
"test": "expo-module test",
"prepare": "expo-module prepare",
"prepublishOnly": "expo-module prepublishOnly",
"expo-module": "expo-module"
}
"name": "with-rn-image-crop-picker",
"version": "0.1.0",
"homepage": "https://github.com/mwegener-com/with-rn-image-crop-picker#readme",
"author": "Marius Wegener",
"repository": "https://github.com/mwegener-com/with-rn-image-crop-picker.git",
"description": "An Expo config plugin for painless setup of `react-native-image-crop-picker`",
"bugs": {
"url": "https://github.com/mwegener-com/with-rn-image-crop-picker/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"license": "MIT",
"private": false,
"main": "app.plugin.js",
"devDependencies": {
"expo-module-scripts": "^2.0.0"
},
"dependencies": {
"@expo/config-plugins": "^3.0.6"
},
"scripts": {
"build": "expo-module build",
"clean": "expo-module clean",
"test": "expo-module test",
"prepare": "expo-module prepare",
"prepublishOnly": "expo-module prepublishOnly",
"expo-module": "expo-module"
}
}
# with-rn-image-crop-picker
Expo config plugin for react-native-image-crop-picker.
Requires Expo Dev Client
Expo config plugin for [react-native-image-crop-picker](https://github.com/ivpusic/react-native-image-crop-picker).
# Installation
#### Warning
Only supports iOS right now.
1. Install from NPM
Requires Expo Dev Client.
Learn more about:
- Expo Managed Workflow in 2021: [part 1](https://blog.expo.io/expo-managed-workflow-in-2021-5b887bbf7dbb), [part 2](https://blog.expo.io/expo-managed-workflow-in-2021-d1c9b68aa10)
- [Expo dev-client docs](https://docs.expo.dev/clients/getting-started/)
- [Expo config plugin](https://docs.expo.io/guides/config-plugins)
## Usage
1. Install with Expo
```sh
$ expo install with-rn-image-crop-picker
```
npm install with-rn-image-crop-picker
```
2. Add to app.json
2. Check your app.json. It should look like this:
```
```json
"plugins": [

@@ -24,3 +32,3 @@ "with-rn-image-crop-picker"

```
```sh
$ expo prebuild

@@ -30,5 +38,5 @@ $ expo run:ios --device

# Configuartion
## Configuartion
You can configure the iOS messages by adding the following props:
You can configure the iOS messages by adding the following props to your app.json file:

@@ -40,18 +48,17 @@ - PhotoLibraryUsageDescription

Example:
```javascript
"plugins": [
[
"with-rn-image-crop-picker",
{
"PhotoLibraryUsageDescription": "Allow app XYZ to access your photos",
"CameraUsageDescription": "Allow app XYZ to access your camera",
"MicrophoneUsageDescription": "Allow app XYZ to access your microphone"
}
]
],
```json
"plugins": [
[
"with-rn-image-crop-picker",
{
"PhotoLibraryUsageDescription": "Allow app XYZ to access your photos",
"CameraUsageDescription": "Allow app XYZ to access your camera",
"MicrophoneUsageDescription": "Allow app XYZ to access your microphone"
}
]
]
```
# Contributing
## Contributing
Contributions are very welcome!
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc