Skip to content

Commit

Permalink
Fix compatibility with RN 0.47
Browse files Browse the repository at this point in the history
  • Loading branch information
Doko-Demo-Doa committed Aug 11, 2017
1 parent 8a70f99 commit dbb232f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
28 changes: 19 additions & 9 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'com.android.library'

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
android {
compileSdkVersion 25
buildToolsVersion "26.0.1"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
defaultConfig {
minSdkVersion 16
targetSdkVersion 22
versionCode 2
versionName "3.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
lintOptions {
warning 'InvalidPackage'
}
}

dependencies {
compile 'com.facebook.react:react-native:+'
}

allprojects {
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-shake",
"version": "3.0.6",
"version": "3.1.0",
"description": "Detect shake event on Android and iOS",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit dbb232f

Please sign in to comment.