mirror of
https://github.com/status-im/react-native-image-crop-picker.git
synced 2025-02-23 19:08:12 +00:00
Merge branch 'master' of github.com:ivpusic/react-native-image-crop-picker
This commit is contained in:
commit
a663a83887
13
README.md
13
README.md
@ -100,6 +100,19 @@ react-native link react-native-image-crop-picker
|
||||
- [Optional] If you want to use camera picker in your project, add following to `AndroidManifest.xml`
|
||||
- `<uses-permission android:name="android.permission.CAMERA"/>`
|
||||
|
||||
#### Production build
|
||||
|
||||
##### iOS
|
||||
|
||||
If you are using pre-built frameworks from `ios/ImageCropPickerSDK`, then before deploying app to production you should strip off simulator ARCHs from these, or you can add frameworks from `Libraries/imageCropPicker/Libraries/_framework_name_.xcodeproj/Products/_framework_name_.framework` to Embedded Binaries instead of pre-built ones.
|
||||
Related issue: https://github.com/ivpusic/react-native-image-crop-picker/issues/61.
|
||||
|
||||
Details for second approach:
|
||||
|
||||
1. Remove the pre-built frameworks from `Embedded Binaries`
|
||||
2. Build for Device
|
||||
4. Add the newly built binaries for both frameworks to `Embedded Binaries` (located at `Libraries/imageCropPicker/Libraries/_framework_name_.xcodeproj/Products/_framework_name_.framework`)
|
||||
|
||||
## How it works?
|
||||
|
||||
It is basically wrapper around few libraries
|
||||
|
Loading…
x
Reference in New Issue
Block a user