diff --git a/android/build.gradle b/android/build.gradle index 3b03280..14e6309 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -19,7 +19,7 @@ android { } dependencies { - compile 'com.facebook.react:react-native:0.20.+' + compile 'com.facebook.react:react-native:+' compile group: 'com.drewnoakes', name: 'metadata-extractor', version: '2.9.1' -} \ No newline at end of file +} diff --git a/android/src/main/java/com/wix/RNCameraKit/gallery/GalleryView.java b/android/src/main/java/com/wix/RNCameraKit/gallery/GalleryView.java index 9c66691..a35bd31 100644 --- a/android/src/main/java/com/wix/RNCameraKit/gallery/GalleryView.java +++ b/android/src/main/java/com/wix/RNCameraKit/gallery/GalleryView.java @@ -116,7 +116,7 @@ public class GalleryView extends RecyclerView { event = Arguments.createMap(); event.putString("selected", uri); event.putString("id", "onTapImage"); - init(0, System.currentTimeMillis()); + init(0); } @Override