with-rn-image-crop-picker
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -1,1 +0,1 @@ | ||
module.exports = require('./build'); | ||
module.exports = require('./build/src'); |
{ | ||
"name": "with-rn-image-crop-picker", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"homepage": "https://github.com/mwegener-com/with-rn-image-crop-picker#readme", | ||
@@ -5,0 +5,0 @@ "author": "Marius Wegener", |
@@ -5,7 +5,32 @@ # with-rn-image-crop-picker | ||
#### Warning | ||
Only supports iOS right now. | ||
## About | ||
Requires Expo Dev Client. | ||
Learn more about: | ||
This plugin adds the required attributes to the specific files as mentioned in the [docs.](https://github.com/ivpusic/react-native-image-crop-picker#step-3) | ||
### iOS | ||
InfoPlist: | ||
- `NSPhotoLibraryUsageDescription` | ||
- `NSCameraUsageDescription` | ||
- `NSMicrophoneUsageDescription` | ||
### Android | ||
AndroidManifest: `<uses-permission android:name="android.permission.CAMERA"/>` | ||
Project build.gradle: | ||
- `maven { url 'https://maven.google.com' }` | ||
- `maven { url "https://www.jitpack.io" }` | ||
App build.gradle `vectorDrawables.useSupportLibrary = true` | ||
## Important note | ||
Currently there is no support for front-camera. | ||
Requires Expo Dev Client in half-managed workflow. | ||
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) | ||
@@ -36,2 +61,3 @@ - [Expo dev-client docs](https://docs.expo.dev/clients/getting-started/) | ||
$ expo run:ios --device | ||
$ expo run:android --device | ||
``` | ||
@@ -48,2 +74,3 @@ | ||
Example: | ||
```json | ||
@@ -65,1 +92,5 @@ "plugins": [ | ||
Contributions are very welcome! | ||
## Support | ||
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/mwegener) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
15179
16
249
93
1