Skip to content

Commit

Permalink
fix: Build with RN 0.58.4 and android SDK 28 fail (#42)
Browse files Browse the repository at this point in the history
* fix react-native 0.58 build error

* version bumped up from 1.0.0 to 1.0.1
  • Loading branch information
sebqq authored and Sunhat committed Feb 20, 2019
1 parent 057777b commit 7c344b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ def safeExtGet(prop, fallback) {
apply plugin: 'com.android.library'

android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
minSdkVersion 16
targetSdkVersion 26
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
ndk {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-extra-dimensions-android",
"version": "1.0.0",
"version": "1.0.1",
"description": "Access additional display metrics on Android devices: status bar height, soft menu bar height, real screen size.",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 7c344b6

Please sign in to comment.