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" } }