Im facing some issue here when I try to accees Android files or camera (using those 2 lib mentioned on title).
I can make it work on iOS with react-native-image-picker, but on Android theres some config or something else that seems to not recognizing the lib and not allow me to pick some phone images or access the camera. I must do that to allow user to use an Avatar image to join the meeting in our private server.
Yes I tried without success. Also tried some different libs, all gives the same error.
iOS works fine with react-native-image-crop-picker, but the same configuration doesnt work on Android, that seems to not recognize the lib or something like that.
The print shows the error after trying to manual linking (this error occurs on both libs, just changing the packages and stuff)…
The other lib (react-native-image-crop-picker) shows: null is not an object (evaluating ‘_reactNativeImageCropPicker.default.openPicker’). Event when I change the import to ImagePicker instead of {ImagePicker} or import * as ImagePicker.
Really thank you saghul! When you answered yesterday we went for some more tries, and this morning we achieved our goals and put the image-crop-picker to work (we missed the build.gradle config before).
I am having the same problem. However, I don’t have the ‘android/sdk’ folder. Under the android folder I just have app, build, gradle, .gradle, and .idea folders.
Any ideas? Are there manual link instructions for react-native-image-crop-picker?