Skip to content

Commit

Permalink
ImagePicker: Add dependency for image-picker library change to follow.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
armaanahluwalia committed Dec 7, 2018
1 parent 766ab54 commit 03930f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
}
}

Expand Down

0 comments on commit 03930f8

Please sign in to comment.