fix(android): read minSdkVersion from root project (#1960)

This commit is contained in:
Sampo Juustila 2021-04-21 02:03:41 +03:00 committed by GitHub
parent 71ca0fb787
commit 768092bba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,7 @@ android {
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion') compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
buildToolsVersion getExtOrDefault('buildToolsVersion') buildToolsVersion getExtOrDefault('buildToolsVersion')
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion getExtOrIntegerDefault('minSdkVersion')
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion') targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"

View File

@ -1,4 +1,5 @@
ReactNativeWebView_kotlinVersion=1.3.50 ReactNativeWebView_kotlinVersion=1.3.50
ReactNativeWebView_compileSdkVersion=29 ReactNativeWebView_compileSdkVersion=29
ReactNativeWebView_buildToolsVersion=29.0.3 ReactNativeWebView_buildToolsVersion=29.0.3
ReactNativeWebView_targetSdkVersion=28 ReactNativeWebView_targetSdkVersion=28
ReactNativeWebView_minSdkVersion=16