From 03930f8d91993752a7e017ff303c5fa1c4fe19de Mon Sep 17 00:00:00 2001 From: Armaan Ahluwalia Date: Thu, 11 Oct 2018 23:43:35 +0530 Subject: [PATCH] ImagePicker: Add dependency for image-picker library change to follow. This commit adds a dependency required by the new image picker library react-native-image-crop-picker we will be switching to in a following commit. This dependency is required by the library to enable its image cropping functionality and even though we dont have that feature enabled currently the app will not build without it. See the Post-Install steps in https://github.com/ivpusic/react-native-image-crop-picker/blob/07d321e3bc279b0ad218817245264cda6a7c77cb/README.md for details. Note: We are skipping adding --------- vectorDrawables.useSupportLibrary = true --------- as stated by the Readme because the app seems to build and work fine without it and its something required by the image cropping feature which we don't have enabled. If we enable that feature we will want to add this line as well. Addtionally, we want to take care to read the "Production build" instructions while building the app for production. --- android/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/android/build.gradle b/android/build.gradle index aa98ebaf839..82635d2a110 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -29,6 +29,7 @@ allprojects { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url "$rootDir/../node_modules/react-native/android" } + maven { url "https://jitpack.io" } } }