From 7c05112883f071d09b3dec73816ce6648be6845c Mon Sep 17 00:00:00 2001 From: Bartol Karuza Date: Mon, 13 May 2019 20:44:56 +0200 Subject: [PATCH] fix(lib): fix groupType all not working on Android (#57) fixes #56 --- .gitignore | 4 ++++ .../com/reactnativecommunity/cameraroll/CameraRollModule.java | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 60e0f4457..d1bdf5c85 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,10 @@ build/ local.properties *.iml +**/.settings +**/.classpath +**/.project + # BUCK buck-out/ \.buckd/ diff --git a/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java b/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java index 8c8ebac73..b859e5c83 100644 --- a/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java +++ b/android/src/main/java/com/reactnativecommunity/cameraroll/CameraRollModule.java @@ -216,9 +216,6 @@ public class CameraRollModule extends ReactContextBaseJavaModule { ReadableArray mimeTypes = params.hasKey("mimeTypes") ? params.getArray("mimeTypes") : null; - if (params.hasKey("groupTypes")) { - throw new JSApplicationIllegalArgumentException("groupTypes is not supported on Android"); - } new GetMediaTask( getReactApplicationContext(),