diff --git a/package.json b/package.json index 26c5c64..f22ff1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-imagecropper", - "version": "0.0.5", + "version": "0.0.6", "description": "A image cropper based on TOCropViewController for iOS and uCrop for Android", "main": "imagecropper.js", "nativescript": { diff --git a/platforms/android/include.gradle b/platforms/android/include.gradle index d9f9fc1..74bbb80 100644 --- a/platforms/android/include.gradle +++ b/platforms/android/include.gradle @@ -1,6 +1,15 @@ repositories { jcenter() } + dependencies { compile 'com.yalantis:ucrop:1.3.2' } + +android { + productFlavors { + "nic" { + dimension "nic" + } + } +}