(android) Android 8 support

This commit is contained in:
Ivan Pusic 2017-10-21 22:13:09 +02:00
parent 08077b2c83
commit b47232befa
4 changed files with 11 additions and 12 deletions

View File

@ -1,12 +1,12 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
minSdkVersion 16
targetSdkVersion 25
targetSdkVersion 26
versionCode 1
}
lintOptions {
@ -18,4 +18,5 @@ dependencies {
compile 'com.facebook.react:react-native:+'
compile 'com.yalantis:ucrop:2.2.0-native'
compile 'id.zelory:compressor:2.1.0'
compile 'com.android.support:support-annotations:26.0.1'
}

View File

@ -83,13 +83,13 @@ def enableSeparateBuildPerCPUArchitecture = false
def enableProguardInReleaseBuilds = false
android {
compileSdkVersion 25
buildToolsVersion "23.0.3"
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.example"
minSdkVersion 18
targetSdkVersion 25
targetSdkVersion 26
versionCode 1
versionName "1.0"
ndk {
@ -129,7 +129,7 @@ dependencies {
compile project(':react-native-video')
compile project(':react-native-image-crop-picker')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:25.3.1"
compile "com.android.support:appcompat-v7:26.0.1"
compile "com.facebook.react:react-native:+"
}

View File

@ -16,9 +16,7 @@ allprojects {
repositories {
mavenLocal()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven { url "$rootDir/../node_modules/react-native/android" }
maven { url 'https://maven.google.com' }
}
}

View File

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