File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,16 @@ requestPermission = async () => {
123
123
##### 4、同时使用 fast-image 需要使用glide 版本
124
124
在build.gradle的buildscript,ext下新增glideVersion指定和fast-image一样的版本
125
125
新增 pictureVersion 自定义picture_library版本
126
+
127
+ ##### 5、同时使用 react-native-image-crop-picker
128
+ - 修改react-native-image-crop-picker/android/build.gradle
129
+ ` implementation 'com.github.yalantis:ucrop:2.2.6-native' ` 替换为 ` implementation 'io.github.lucksiege:pictureselector:v2.7.3-rc08' `
130
+
131
+ - 修改react-native-image-crop-picker/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java
132
+ ` uCrop.start(activity); ` 替换为 ` uCrop.start(activity, UCrop.REQUEST_CROP); `
133
+
134
+ 推荐使用 patch-package 对刚刚修改进行 patch
135
+ 执行` patch-package react-native-image-crop-picker `
126
136
127
137
### 注意安装运行报错
128
138
1 . 检查自动 link 是否成功
You can’t perform that action at this time.
0 commit comments