From ad558c4940936165b768270560a4b99dfc156ce7 Mon Sep 17 00:00:00 2001 From: Adam Sajko Date: Tue, 21 Aug 2018 16:33:40 +0200 Subject: [PATCH] [SPLASH_V3] Update SDK to compatible with grandle 3 and the latest stable version react-native --- README.md | 6 ++++++ android/build.gradle | 8 ++++---- package.json | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 31bf125..b380c34 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,12 @@ A smart splash screen for React Native apps, written in JS, oc and java for cross-platform support. It works on iOS and Android. +## Changes + +For React Native >= `0.47.0` use `v3.+` + +For React Native < `0.47.0` use `v2.+` + ## Preview ![react-native-smart-splash-screen-ios-preview][1] diff --git a/android/build.gradle b/android/build.gradle index dfbd150..b94af7c 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 23 - buildToolsVersion "23.0.3" + compileSdkVersion 26 + buildToolsVersion "26.0.3" defaultConfig { minSdkVersion 16 - targetSdkVersion 23 + targetSdkVersion 26 versionCode 1 versionName "1.0" } @@ -20,6 +20,6 @@ android { dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') - compile 'com.android.support:appcompat-v7:23.4.0' + compile 'com.android.support:appcompat-v7:26.1.0' compile 'com.facebook.react:react-native:+' } diff --git a/package.json b/package.json index 134f01a..8688ad9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-smart-splash-screen", - "version": "2.3.5", + "version": "3.0.0", "description": "A smart splash screen for React Native apps", "main": "SplashScreen.js", "scripts": { @@ -25,6 +25,6 @@ }, "homepage": "https://github.com/react-native-component/react-native-smart-splash-screen#readme", "peerDependencies": { - "react-native": ">=0.40.0" + "react-native": ">=0.47.0" } }