From 20dadc178b9ad06d1864afcbd6fd593fd392ee77 Mon Sep 17 00:00:00 2001 From: Jesse Harlin Date: Wed, 15 Feb 2017 19:43:22 -0600 Subject: [PATCH 1/2] Synchronized to notifyProblem in ResultCollector --- .../com/reactnative/ivpusic/imagepicker/ResultCollector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/reactnative/ivpusic/imagepicker/ResultCollector.java b/android/src/main/java/com/reactnative/ivpusic/imagepicker/ResultCollector.java index cf9db7b..9173331 100644 --- a/android/src/main/java/com/reactnative/ivpusic/imagepicker/ResultCollector.java +++ b/android/src/main/java/com/reactnative/ivpusic/imagepicker/ResultCollector.java @@ -66,7 +66,7 @@ public class ResultCollector { resultSent = true; } - public void notifyProblem(String code, Throwable throwable) { + public synchronized void notifyProblem(String code, Throwable throwable) { if (resultSent) { Log.w("image-crop-picker", "Skipping result, already sent..."); } From 89f54e38025d1de4a36a6556da027e47d2c391d4 Mon Sep 17 00:00:00 2001 From: Jesse Harlin Date: Wed, 15 Feb 2017 19:43:46 -0600 Subject: [PATCH 2/2] Increment bugfix version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7148320..38711f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-image-crop-picker", - "version": "0.12.3", + "version": "0.12.4", "description": "Select single or multiple images, with croping option", "main": "index.js", "scripts": {