Skip to content

Commit 706e9c5

Browse files
authored
fix: Android min sdk 16 compatibility (#321)
1 parent ab41741 commit 706e9c5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ android {
2727
defaultConfig {
2828
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
2929
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
30+
vectorDrawables.useSupportLibrary=getExtOrDefault('vector_drawable_use_support_library')
3031
}
3132
}
3233

@@ -40,4 +41,4 @@ dependencies {
4041
//noinspection GradleDynamicVersion
4142
api 'com.facebook.react:react-native:+'
4243
}
43-
44+

android/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ ReactNativePicker_compileSdkVersion=28
22
ReactNativePicker_buildToolsVersion=28.0.3
33
ReactNativePicker_targetSdkVersion=28
44
ReactNativePicker_minSdkVersion=21
5+
ReactNativePicker_vector_drawable_use_support_library=true

0 commit comments

Comments
 (0)