react-native-customizable-image-crop-picker 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -128,10 +128,25 @@ Add:
|
|
|
128
128
|
|
|
129
129
|
#### If CocoaPods fails: TOCropViewController modular headers
|
|
130
130
|
|
|
131
|
+
If you see this error during `pod install`:
|
|
132
|
+
|
|
133
|
+
- `The following Swift pods cannot yet be integrated as static libraries...`
|
|
134
|
+
- `RNCustomizableImageCropPicker depends upon TOCropViewController, which does not define modules`
|
|
135
|
+
|
|
136
|
+
Add this to your **app** `ios/Podfile` (inside your app target):
|
|
137
|
+
|
|
131
138
|
```ruby
|
|
132
139
|
pod 'TOCropViewController', :modular_headers => true
|
|
133
140
|
```
|
|
134
141
|
|
|
142
|
+
Then run:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
cd ios
|
|
146
|
+
pod install
|
|
147
|
+
cd ..
|
|
148
|
+
```
|
|
149
|
+
|
|
135
150
|
#### If you see an rsync error about missing simulator slice (RN 0.84+ prebuilt pods)
|
|
136
151
|
|
|
137
152
|
```bash
|
|
@@ -212,6 +227,12 @@ const result = await openImageCropPicker({
|
|
|
212
227
|
|
|
213
228
|
This package also exports a **fully customizable React Native modal** (`ImageCropPickerModal`) that you can use as your own UI layer (custom header/footer/buttons). It’s independent from the native crop flow.
|
|
214
229
|
|
|
230
|
+
## Examples
|
|
231
|
+
|
|
232
|
+
- [Basic Example](https://github.com/amitkumarcoding/imagecroppicker/blob/main/App.js)
|
|
233
|
+
- [Full Example](https://github.com/amitkumarcoding/imagecroppicker/blob/main/packages/react-native-customizable-image-crop-picker/example/App.js)
|
|
234
|
+
|
|
235
|
+
|
|
215
236
|
### Usage
|
|
216
237
|
|
|
217
238
|
```js
|
|
@@ -475,5 +496,4 @@ Contributions are welcome. Please open an issue with reproduction details or sub
|
|
|
475
496
|
|
|
476
497
|
## License
|
|
477
498
|
|
|
478
|
-
MIT
|
|
479
|
-
|
|
499
|
+
MIT
|