Merge remote-tracking branch 'ivpusic/master'

This commit is contained in:
Andrew Shini 2017-03-07 13:15:06 +10:00
commit 2e976eae62
3 changed files with 3 additions and 7 deletions

View File

@ -22,11 +22,7 @@ public class RealPathUtil {
final String[] split = docId.split(":");
final String type = split[0];
if ("primary".equalsIgnoreCase(type)) {
return Environment.getExternalStorageDirectory() + "/" + split[1];
}
// TODO handle non-primary volumes
return Environment.getExternalStorageDirectory() + "/" + split[1];
}
// DownloadsProvider
else if (isDownloadsDocument(uri)) {

View File

@ -16,7 +16,7 @@ public class MainApplication extends Application implements ReactApplication {
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
@Override
protected boolean getUseDeveloperSupport() {
public boolean getUseDeveloperSupport() {
return BuildConfig.DEBUG;
}

View File

@ -1,6 +1,6 @@
{
"name": "react-native-image-crop-picker",
"version": "0.12.6",
"version": "0.12.7",
"description": "Select single or multiple images, with croping option",
"main": "index.js",
"scripts": {