react-native-photo-editor
react-native-photo-editor copied to clipboard
Image Crop Issue
image crop button is UN-clickable after first crop is done
Ok i solved this issue by adding a condition in startCropping method into /node_modules/react-native-photo-editor/android/src/main/java/com/ahmedadeltito/photoeditor/PhotoEditorActivity.java
private void startCropping() {
System.out.println(selectedImagePath);
if (selectedImagePath.contains("file://")||selectedImagePath.contains("content://")) {
selectedImagePath = getPath(Uri.parse(selectedImagePath));
}
//Rest of code continue....
May hope it will help you so i am closing the issue now so i requested to prscX to check this and update it the git repo it will help to other developer also in Android who are stuck in this issue.
Thank you