mirror of
https://github.com/status-im/react-native-image-crop-picker.git
synced 2025-02-23 10:58:16 +00:00
(android) Android 8 support
This commit is contained in:
parent
08077b2c83
commit
b47232befa
@ -1,12 +1,12 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 25
|
compileSdkVersion 26
|
||||||
buildToolsVersion "25.0.3"
|
buildToolsVersion "26.0.1"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 25
|
targetSdkVersion 26
|
||||||
versionCode 1
|
versionCode 1
|
||||||
}
|
}
|
||||||
lintOptions {
|
lintOptions {
|
||||||
@ -18,4 +18,5 @@ dependencies {
|
|||||||
compile 'com.facebook.react:react-native:+'
|
compile 'com.facebook.react:react-native:+'
|
||||||
compile 'com.yalantis:ucrop:2.2.0-native'
|
compile 'com.yalantis:ucrop:2.2.0-native'
|
||||||
compile 'id.zelory:compressor:2.1.0'
|
compile 'id.zelory:compressor:2.1.0'
|
||||||
|
compile 'com.android.support:support-annotations:26.0.1'
|
||||||
}
|
}
|
||||||
|
@ -83,13 +83,13 @@ def enableSeparateBuildPerCPUArchitecture = false
|
|||||||
def enableProguardInReleaseBuilds = false
|
def enableProguardInReleaseBuilds = false
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 25
|
compileSdkVersion 26
|
||||||
buildToolsVersion "23.0.3"
|
buildToolsVersion "26.0.1"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.example"
|
applicationId "com.example"
|
||||||
minSdkVersion 18
|
minSdkVersion 18
|
||||||
targetSdkVersion 25
|
targetSdkVersion 26
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
ndk {
|
ndk {
|
||||||
@ -129,7 +129,7 @@ dependencies {
|
|||||||
compile project(':react-native-video')
|
compile project(':react-native-video')
|
||||||
compile project(':react-native-image-crop-picker')
|
compile project(':react-native-image-crop-picker')
|
||||||
compile fileTree(dir: "libs", include: ["*.jar"])
|
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:+"
|
compile "com.facebook.react:react-native:+"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,9 +16,7 @@ allprojects {
|
|||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
jcenter()
|
jcenter()
|
||||||
maven {
|
maven { url "$rootDir/../node_modules/react-native/android" }
|
||||||
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
maven { url 'https://maven.google.com' }
|
||||||
url "$rootDir/../node_modules/react-native/android"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-image-crop-picker",
|
"name": "react-native-image-crop-picker",
|
||||||
"version": "0.17.3",
|
"version": "0.18.0",
|
||||||
"description": "Select single or multiple images, with cropping option",
|
"description": "Select single or multiple images, with cropping option",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user